Class ForeverDuration


  • public class ForeverDuration
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.time.Duration FOREVER
      Constant FOREVER
    • Constructor Summary

      Constructors 
      Constructor Description
      ForeverDuration()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isForever​(java.time.Duration duration)
      isForever.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • FOREVER

        public static final java.time.Duration FOREVER
        Constant FOREVER
    • Constructor Detail

      • ForeverDuration

        public ForeverDuration()
    • Method Detail

      • isForever

        public static boolean isForever​(java.time.Duration duration)

        isForever.

        Returns:
        a boolean.