Interface ITimeInterval

    • Method Detail

      • getMilliseconds

        default long getMilliseconds()
        Returns the number of milliseconds in the given time interval. Months are considered to have 30 days, and years, 365 days. When either field is null, returns 0.
      • isValid

        default boolean isValid()
        A time interval is empty if either amount or field are null