public interface TimestampProvider
Interface for implementations that create timestamps for GORM dateCreated/lastUpdated fields
| Type Params | Return Type | Name and description |
|---|---|---|
<T> |
public T |
createTimestamp(java.lang.Class<T> dateTimeClass)Creates a timestamp for the given class |
|
public boolean |
supportsCreating(java.lang.Class<?> dateTimeClass)Whether a timestamp can be created for the given type |
Creates a timestamp for the given class
dateTimeClass - The time stampT - The type of the timestamp classWhether a timestamp can be created for the given type
dateTimeClass - The date time class