OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Updated: (ODATA-281) Keep second() as integer, introduce FractionalSeconds


     [ http://tools.oasis-open.org/issues/browse/ODATA-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralf Handl updated ODATA-281:
-----------------------------

    Resolution: 
https://www.oasis-open.org/committees/download.php/48526/odata-core-v4.0-wd01-part1-protocol-2013-03-12.doc
https://www.oasis-open.org/committees/download.php/48584/odata-core-v4.0-wd01-part1-protocol-2013-03-19.doc

https://www.oasis-open.org/committees/download.php/48527/odata-core-v4.0-wd01-part2-url-conventions-2013-03-12.doc
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/ABNF/odata-abnf-construction-rules-v4.0-wd01.txt?rev=211
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/ABNF/odata-abnf-testcases.xml?rev=211

  was:
https://www.oasis-open.org/committees/download.php/48526/odata-core-v4.0-wd01-part1-protocol-2013-03-12.doc

https://www.oasis-open.org/committees/download.php/48527/odata-core-v4.0-wd01-part2-url-conventions-2013-03-12.doc
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/ABNF/odata-abnf-construction-rules-v4.0-wd01.txt?rev=211
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/ABNF/odata-abnf-testcases.xml?rev=211


> Keep second() as integer, introduce FractionalSeconds
> -----------------------------------------------------
>
>                 Key: ODATA-281
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-281
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData ABNF Construction Rules, OData Protocol , OData URL Conventions 
>    Affects Versions: V4.0_WD01
>         Environment: [Proposed]
>            Reporter: Michael Pizzo
>            Assignee: Ralf Handl
>             Fix For: V4.0_WD01
>
>
> ODATA-215 was originally intended to address the apparent overlap between hour, minute, and second functions for datetimeoffset and duration datatypes, and did so by replacing the not-terribly-useful hour/minute/second functions for duration with a totalseconds function.
> Along the way we also noted that we had no way to represent fractional seconds, and so we changed the return type of the second function for datetimeoffset to return a decimal.
> Upon further reflection, I think this is inconsistent; the second portion is a separate portion from fractional seconds, just as day is separate from hour is separate from minute is separate from second. I would instead like to keep second() an integer, and introduce a fractionalsecond function that returns the fractional seconds as a decimal value <1.
> This is more consistent, for example, with how SQL and many programming languages handle parts of datetime functions.

-- 
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]