Interface TimeUnitConstants


  • public interface TimeUnitConstants
    Easy access to time units for Java 1.4, which doesn't have static imports.
    • Field Detail

      • YEAR

        static final TimeUnit YEAR
        Represents a year.
      • MONTH

        static final TimeUnit MONTH
        Represents a month.
      • WEEK

        static final TimeUnit WEEK
        Represents a week.
      • DAY

        static final TimeUnit DAY
        Represents a day.
      • HOUR

        static final TimeUnit HOUR
        Represents an hour.
      • MINUTE

        static final TimeUnit MINUTE
        Represents a minute.
      • SECOND

        static final TimeUnit SECOND
        Represents a second.
      • MILLISECOND

        static final TimeUnit MILLISECOND
        Represents a millisecond.