Class TimeAmount


  • public class TimeAmount
    extends Object
    • Constructor Detail

      • TimeAmount

        public TimeAmount​(long amount,
                          ChronoUnit unit)
    • Method Detail

      • toSeconds

        public long toSeconds()
      • toMillis

        public long toMillis()
      • getAmount

        public long getAmount()
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object