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

precision for functions that have Edm.DateTime or Edm.DateTimeOffset parameters

    XMLWordPrintable

    Details

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

      [Proposed]

      Description

      It is unclear what value of precision should be used for functions that have Edm.DateTime or Edm.DateTimeOffset parameters. Some databases support precisions as high as 12 digits.

      I might like to define a vocabulary with a current_datetime function. What value of precision should be specified for the return type of the function, remembering that the function should be usable across multiple implementations? The same issue arises if I would like to define a compare_datetime function. What value of precision should I use for the two function parameters.

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              andrew.eisenberg Andrew Eisenberg
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: