Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8290290

Remove addition of TimeInstants

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 20
    • 20
    • hotspot
    • None
    • b07

    Description

      The TimeInstant class has an operator+ member function taking another TimeInstant and returning a corresponding TimeInterval. It doesn't make semantic sense to add TimeInstants. The implementation is equivalent to performing a subtraction operation with the argument order reversed, making it kind of an inverse for subtraction. But really, this operation just shouldn't exist. Fortunately, there are no callers.

      Attachments

        Issue Links

          Activity

            People

              kbarrett Kim Barrett
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: