[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Updated: (ODATA-14) add Edm.Date to the OData primitive data types
[ http://tools.oasis-open.org/issues/browse/ODATA-14?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Pizzo updated ODATA-14:
-------------------------------
Proposal:
-Add a Edm.Date type, with no offset.
-serialized form follows xs:date
-Also add Date() function that takes a DateTimeOffset value and returns the Date portion as Edm.Date.
-Support existing functions year, month, day applied to Edm.Date
was:
-Add a Edm.Date type, which is serialized as an xs:date value.
-Also add Date() function that takes a DateTimeOffset value and returns the Date portion as Edm.Date.
-Support existing functions year, month, day applied to Edm.Date
> add Edm.Date to the OData primitive data types
> ----------------------------------------------
>
> Key: ODATA-14
> URL: http://tools.oasis-open.org/issues/browse/ODATA-14
> Project: OASIS Open Data Protocol (OData) TC
> Issue Type: Improvement
> Components: OData CSDL v1.0
> Environment: [Proposed]
> Reporter: Andrew Eisenberg
> Assignee: Ralf Handl
>
> 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>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]