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

add Edm.Date to the OData primitive data types

    XMLWordPrintable

    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, URL Conventions
    • Labels:
      None
    • Environment:

      [Proposed]

      Description

      The addition of Edm.Date to the OData primitive data types might be considered.

      Date values are widely used. SQL supports the DATE data type. XML Schema supports the xs:date data type.

      Example:

      <ComplexType Name="DeliveryFormatAvailability">
      <Property Name="Available" Type="Edm.Boolean" Nullable="false" />
      <Property Name="AvailableFrom" Type="Edm.Date" Nullable="true" />
      <Property Name="AvailableTo" Type="Edm.Date" Nullable="true" />
      <Property Name="Rating" Type="Edm.String" Nullable="true" MaxLength="Max" Unicode="true" FixedLength="false" />
      <Property Name="Runtime" Type="Edm.Int32" Nullable="true" />
      </ComplexType>

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: