Package org.joda.time

Interface DateTimeUtils.MillisProvider

  • Enclosing class:
    DateTimeUtils

    public static interface DateTimeUtils.MillisProvider
    A millisecond provider, allowing control of the system clock.
    Since:
    2.0 (previously private)
    • Method Detail

      • getMillis

        long getMillis()
        Gets the current time.

        Implementations of this method must be thread-safe.

        Returns:
        the current time in milliseconds