Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-777

Clarify multiply/divide duration by number

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.0_ERRATA02
    • Fix Version/s: V4.0_ERRATA03
    • Component/s: URL Conventions
    • Labels:
      None
    • Environment:

      [Applied]

    • Proposal:
      Hide

      Add to sections 5.1.1.2.4, Multiplication:
      The mul operator is also valid for multiplying a Duration value with a numeric value.

      Add to Section 5.1.1.2.5, Division
      The div operator is also valid for dividing a Duration value by a numeric value.

      Applied:
      https://www.oasis-open.org/committees/download.php/55614/odata-v4.0-wd08-part2-url-conventions-2015-05-07.docx

      Show
      Add to sections 5.1.1.2.4, Multiplication: The mul operator is also valid for multiplying a Duration value with a numeric value. Add to Section 5.1.1.2.5, Division The div operator is also valid for dividing a Duration value by a numeric value. Applied: https://www.oasis-open.org/committees/download.php/55614/odata-v4.0-wd08-part2-url-conventions-2015-05-07.docx

      Description

      In URL conventions we spell out the type of adding/subtracting different datetime/duration combinations, but we don't say anything about multiplication and division.

        Attachments

          Activity

            People

            • Assignee:
              martinzurmuehl Martin Zurmuehl
              Reporter:
              mikep Michael Pizzo
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: