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 SummaryModifier and TypeMethodDescriptiongetNow()Returns the current time to be used as modification or creation date.
- 
Method Details- 
getNowOptional<TemporalAccessor> getNow()Returns the current time to be used as modification or creation date.- Returns:
 
 
-