[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Updated: (ODATA-112) DateTime[Offset]: allow 24:00[:00] in time part
[ http://tools.oasis-open.org/issues/browse/ODATA-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Pizzo updated ODATA-112: -------------------------------- Proposal: The primary motivating factor for 24:00 was to express an inclusive date range (i.e., 2012/11/8-2012/11/9). In ODATA-14 we propose adding an Edm.Date value which would address that requirement. We observed that some databases do support 24:00. The options are basically either to make the service handle the conversion to 00:00 of the following day, or require the client to handle the value, as described below: Option 1 (burden on service): -Normalize to 00:00 of next day. -could lose semantic for client that adds meaning to 24:00 separate from 00:00. Option 2 (burden on client): -interoperable clients should be prepared to handle 24:00, convert as necessary. -interoperable clients should not create values with 24:00. There was a preference, though not unanimous, for placing the burden on the service. was:Allow 24:00[:00] in time part meaning the first instant of the following day Environment: [Proposed] > DateTime[Offset]: allow 24:00[:00] in time part > ----------------------------------------------- > > Key: ODATA-112 > URL: http://tools.oasis-open.org/issues/browse/ODATA-112 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: Bug > Components: OData CSDL v1.0 > Affects Versions: WD01 > Environment: [Proposed] > Reporter: Ralf Handl > Assignee: Ralf Handl > Priority: Minor > Fix For: WD01 > > > http://www.w3.org/TR/xmlschema-2/#dateTime allows 24 in the hour part of a dateTime if the minutes and seconds represented are zero, and the dateTime value so represented is the first instant of the following day. -- 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]