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

Consider adding a primitive type that corresponds with JSR 310 (JDK 1.8 time API) ZonedDateTime

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Deferred
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: V4.0_WD01
    • Fix Version/s: V5.0
    • Component/s: CSDL XML
    • Labels:
      None
    • Environment:

      [Proposed]

      Description

      Please refer to ZonedDateTime in the JSR 310 (JDK 1.8 time API) documentation:

      http://threeten.sourceforge.net/apidocs/javax/time/calendar/ZonedDateTime.html

      OData does not permit such a value (essentially a DateTimeOffset together with a named time zone region) to be represented except by using string or complex types.

      We might reasonably expect that OData interoperability with the new Java time system will be impacted by the omission of a corresponding CSDL primitive type.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: