Class DefaultClock

  • All Implemented Interfaces:
    com.atlassian.core.util.Clock

    public final class DefaultClock
    extends Object
    implements com.atlassian.core.util.Clock
    Default implementation of the Clock interface that simply returns a new Date instance.
    • Constructor Detail

      • DefaultClock

        public DefaultClock()
    • Method Detail

      • getCurrentDate

        public Date getCurrentDate()
        Specified by:
        getCurrentDate in interface com.atlassian.core.util.Clock