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

Should Duration be renamed DayTimeDuration in anticipation that we may wish to add YearMonthDuration at a later point?

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_WD01
    • Fix Version/s: V4.0_WD01
    • Component/s: CSDL XML
    • Labels:
      None
    • Environment:

      [Closed]

    • Proposal:
      Hide

      Close with no action.

      The general consensus in naming this "Duration" was that the likelihood of adding yearMonthDuration in the future was low enough that we should optimize for simplicity in the more common dayTimeDuration by calling it simply Duration.

      Accepted: https://www.oasis-open.org/committees/download.php/48622/odata-meeting-30_on-20130321-minutes.html#odata-299

      Show
      Close with no action. The general consensus in naming this "Duration" was that the likelihood of adding yearMonthDuration in the future was low enough that we should optimize for simplicity in the more common dayTimeDuration by calling it simply Duration. Accepted: https://www.oasis-open.org/committees/download.php/48622/odata-meeting-30_on-20130321-minutes.html#odata-299

      Description

      XML schema defines both dayTimeDuration and yearMonthDuration.

      If we anticipate that we may wish to add CSDL support for YearMonthDuration later, then perhaps Duration should be renamed to DayTimeDuation now.

      (Note for comparison how we renamed Point to GeographyPoint, since there is also GeometryPoint)

        Attachments

          Activity

          evan.ireland Evan Ireland (Inactive) created issue -
          Hide
          mikep Michael Pizzo (Inactive) added a comment -

          We had a long discussion on exactly this issue when we added Duration.

          The general consensus was that the likelihood of adding yearMonthDuration in the future was low enough that we should optimize for simplicity in the more common dayTimeDuration by calling it simply Duration.

          Show
          mikep Michael Pizzo (Inactive) added a comment - We had a long discussion on exactly this issue when we added Duration. The general consensus was that the likelihood of adding yearMonthDuration in the future was low enough that we should optimize for simplicity in the more common dayTimeDuration by calling it simply Duration.
          mikep Michael Pizzo (Inactive) made changes -
          Field Original Value New Value
          Proposal Close with no action.

          The general consensus in naming this "Duration" was that the likelihood of adding yearMonthDuration in the future was low enough that we should optimize for simplicity in the more common dayTimeDuration by calling it simply Duration.
          Environment [Proposed]
          ralfhandl Ralf Handl made changes -
          Fix Version/s V4.0_WD01 [ 10247 ]
          ralfhandl Ralf Handl made changes -
          Proposal Close with no action.

          The general consensus in naming this "Duration" was that the likelihood of adding yearMonthDuration in the future was low enough that we should optimize for simplicity in the more common dayTimeDuration by calling it simply Duration.
          Close with no action.

          The general consensus in naming this "Duration" was that the likelihood of adding yearMonthDuration in the future was low enough that we should optimize for simplicity in the more common dayTimeDuration by calling it simply Duration.

          Accepted: https://www.oasis-open.org/committees/download.php/48622/odata-meeting-30_on-20130321-minutes.html#odata-299
          Status New [ 10000 ] Closed [ 6 ]
          ralfhandl Ralf Handl made changes -
          Environment [Proposed] [Closed]
          Status Closed [ 6 ] Open [ 1 ]
          ralfhandl Ralf Handl made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          ralfhandl Ralf Handl made changes -
          Status Resolved [ 5 ] Applied [ 10002 ]
          ralfhandl Ralf Handl made changes -
          Status Applied [ 10002 ] Closed [ 6 ]
          handl Ralf Handl made changes -
          Reporter Evan Ireland [ evan.ireland ] Evan Ireland [ evan.ireland.2 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              evan.ireland.2 Evan Ireland
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: