Class DefaultClockProvider
java.lang.Object
org.hibernate.validator.internal.engine.DefaultClockProvider
- All Implemented Interfaces:
ClockProvider
A default
ClockProvider implementation which returns the current system time in the default time zone using
Clock.systemDefaultZone().- Author:
- Guillaume Smet
-
Field Summary
Fields -
Method Summary
-
Field Details
-
INSTANCE
-
-
Method Details
-
getClock
Description copied from interface:ClockProviderReturns the clock which serves as the reference fornow.- Specified by:
getClockin interfaceClockProvider- Returns:
- the clock which serves as the reference for
now; must not benull
-