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)
Author:
Stephen Colebourne
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Gets the current time.
  • Method Details

    • getMillis

      long getMillis()
      Gets the current time.

      Implementations of this method must be thread-safe.

      Returns:
      the current time in milliseconds