[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Commented: (ODATA-107) Should OData support a "clock time" (xs:time) datatype?
[ http://tools.oasis-open.org/issues/browse/ODATA-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32165#action_32165 ] Michael Pizzo commented on ODATA-107: ------------------------------------- Rather than further complicate the ecosystem by redefining Edm.Time, I propose the following: 1) We define a new Edm.Duration type which is formatted as xs:dayTimeDuration (Ralf already applied this by adding Edm.DayTimeDuration; we would just rename this to the (simpler) "Edm.Duration"). 2) We remove Edm.Time from the OASIS specification and reserve its use for backward compatibility (existing implementations can use it as a synonym for the new Edm.Duration). 3) We add a new Edm.TimeOfDay which is xs:time without explicit time zone offset and without the 24:00:00 value. > Should OData support a "clock time" (xs:time) datatype? > ------------------------------------------------------- > > Key: ODATA-107 > URL: http://tools.oasis-open.org/issues/browse/ODATA-107 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: Bug > Components: OData ABNF Construction Rules v1.0 > Affects Versions: WD01 > Environment: [Proposed] > Reporter: Michael Pizzo > Priority: Minor > Fix For: WD01 > > > Edm.Time was intended to be xs:duration ("P1Y1M1DT1H1M1S"). On Sept 6, 2012 we approved ODATA-70 to consistently treat Edm.Time as xs:duration, but this led to discussion as to whether we should have a datatype for "clock time" separate from xs:duration, and whether that time should have an optional or required timezone. > At that same meeting we agreed to repurpose this issue, which was originally somewhat a duplicate of ODATA-70, to track the possibly support for xs:Time. -- 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]