Interface DateTimeProvider
- All Known Implementing Classes:
 CurrentDateTimeProvider
public interface DateTimeProvider
SPI to calculate the current time to be used when auditing.
- Since:
 - 1.5
 - Author:
 - Oliver Gierke
 
- 
Method Summary
Modifier and TypeMethodDescriptiongetNow()Returns the current time to be used as modification or creation date. 
- 
Method Details
- 
getNow
Optional<TemporalAccessor> getNow()Returns the current time to be used as modification or creation date.- Returns:
 
 
 -