Class RelativeDate.Precision

java.lang.Object
org.fastnate.util.RelativeDate.Precision
Enclosing class:
RelativeDate

public static final class RelativeDate.Precision extends Object
The precision of a difference between a reference date and a date property.
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getUnit

      public String getUnit()
      The name of the unit of this precision.
    • getMillis

      public long getMillis()
      The precision of the unit in milliseconds.