Package com.auth0.jwt

Class ClockImpl

  • All Implemented Interfaces:
    Clock

    final class ClockImpl
    extends java.lang.Object
    implements Clock
    • Constructor Summary

      Constructors 
      Constructor Description
      ClockImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Date getToday()
      Returns a new Date representing Today's time.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClockImpl

        ClockImpl()
    • Method Detail

      • getToday

        public java.util.Date getToday()
        Description copied from interface: Clock
        Returns a new Date representing Today's time.
        Specified by:
        getToday in interface Clock
        Returns:
        a new Date representing Today's time.