Class TimeValue

java.lang.Object
org.n52.janmayen.TimeValue

public final class TimeValue extends Object
TODO JavaDoc
  • Field Details

  • Constructor Details

    • TimeValue

      public TimeValue(long value, TimeUnit unit)
  • Method Details

    • to

      public TimeValue to(TimeUnit unit)
    • toNanos

      public TimeValue toNanos()
    • toMillis

      public TimeValue toMillis()
    • toMicros

      public TimeValue toMicros()
    • toSeconds

      public TimeValue toSeconds()
    • toMinutes

      public TimeValue toMinutes()
    • toHours

      public TimeValue toHours()
    • toDays

      public TimeValue toDays()
    • getNanos

      public long getNanos()
    • getMillis

      public long getMillis()
    • getMicros

      public long getMicros()
    • getSeconds

      public long getSeconds()
    • getMinutes

      public long getMinutes()
    • getHours

      public long getHours()
    • getDays

      public long getDays()
    • toString

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

      public TimeUnit getUnit()
    • getValue

      public long getValue()
    • abbreviate

      public static String abbreviate(TimeUnit unit)