Class SystemClock

java.lang.Object
google.registry.util.SystemClock
All Implemented Interfaces:
Clock, Serializable

@ThreadSafe public class SystemClock extends Object implements Clock
Clock implementation that proxies to the real system clock.
See Also:
  • Constructor Details

    • SystemClock

      @Inject public SystemClock()
  • Method Details

    • nowUtc

      public org.joda.time.DateTime nowUtc()
      Returns the current time.
      Specified by:
      nowUtc in interface Clock