Class DefaultClockProvider

java.lang.Object
io.micronaut.validation.validator.DefaultClockProvider
All Implemented Interfaces:
jakarta.validation.ClockProvider

@Singleton public class DefaultClockProvider extends Object implements jakarta.validation.ClockProvider
The default clock provider.
Since:
1.2
Author:
graemerocher
  • Constructor Details

    • DefaultClockProvider

      public DefaultClockProvider()
  • Method Details

    • getClock

      public Clock getClock()
      Specified by:
      getClock in interface jakarta.validation.ClockProvider