Class Time


  • public class Time
    extends Object
    A helper class for working with times in various units
    • Constructor Detail

      • Time

        public Time​(long number,
                    TimeUnit timeUnit)
    • Method Detail

      • toMillis

        public long toMillis()
      • getNumber

        public long getNumber()
      • getTimeUnit

        public TimeUnit getTimeUnit()