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] Commented: (ODATA-215) Remove hour(), minute() and second() query functions and add corresponding overloads to the hours(), minutes(), and seconds() functions


    [ http://tools.oasis-open.org/issues/browse/ODATA-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32559#action_32559 ] 

Ralf Handl commented on ODATA-215:
----------------------------------

Changed gettotaloffsetminutes to totaloffsetminutes. This verb form stuck out between all the noun forms, now it really clashes with totalseconds.

Services MAY support the undocumented old-style name.

> 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

        


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