T
- the return type of the time. When used with JPA the type that is returned should be the type that is
defined in the entity. When used with JDBC, the type defined should always be Date
or Date
.public interface DateTimeProvider<T>
DateCreated
or
DateUpdated
.Modifier and Type | Method and Description |
---|---|
T |
getNow()
Returns the time to be used for the timestamp.
|
T getNow()