[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Commented: (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:comment-tabpanel&focusedCommentId=31531#action_31531 ] Ralf Handl commented on ODATA-14: --------------------------------- I agree that we should add TZID offsets in addition to numeric offsets. There are basically two ways we can do that: - require the TZID to be part of the value as in DateTimeOffset, or - add new primitive type TimeZoneID and add a REQUIRED facet TZID to the types DateTime, Date, and ClockTime that MUST specify a valid path to a property of type TimeZoneID. > 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 > 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]