[ http://tools.oasis-open.org/issues/browse/ODATA-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ralf Handl updated ODATA-215:
-----------------------------
Proposal:
A) Remove the days() hours() minutes() and seconds() function for duration.
B) Add a totalseconds() function for duration, which is decimal.
C) Change the existing second() function to return a decimal.
Accepted: https://www.oasis-open.org/committees/download.php/48346/odata-meeting-26_on-20130221-minutes.html#odata-215
D) Rename gettotaloffsetminutes to totaloffsetminutes.
was:
A) Remove the days() hours() minutes() and seconds() function for duration.
B) Add a totalseconds() function for duration, which is decimal.
C) Change the existing second() function to return a decimal.
Accepted: https://www.oasis-open.org/committees/download.php/48346/odata-meeting-26_on-20130221-minutes.html#odata-215
> Remove hour(), minute() and second() query functions and add corresponding overloads to the hours(), minutes(), and seconds() functions
> ---------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ODATA-215
> URL: http://tools.oasis-open.org/issues/browse/ODATA-215
> Project: OASIS Open Data Protocol (OData) TC
> Issue Type: Improvement
> Components: OData ABNF Construction Rules, OData URL Conventions
> Affects Versions: V4.0_WD01
> Environment: [Proposed]
> Reporter: Ralf Handl
> Assignee: Ralf Handl
> Priority: Minor
> Fix For: V4.0_WD01
>
>
> Both the hour() and hours() function returns an integer, and as the values returned are in the range of 0..23, the plural form of the name is more appropriate.
> Same reasoning for minute() and minutes(), second() and seconds().
> Btw., why do second() and seconds() return integers? We allow fractional seconds for DateTimeOffset, Duration, and TimeOfDay.
--
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