Add a method that performs saturating addition of a Duration to an Instant

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: 25
    • Component/s: core-libs
    • None
    • b22

      Instant arithmetic is used to calculate deadlines. However, if the programmer is not careful, it easily exceeds Instant or overflows long edge values. It might be useful to add a method that calculates a deadline safely.

            Assignee:
            Pavel Rappo
            Reporter:
            Pavel Rappo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: