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


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 v1.0, OData URL Conventions v1.0
    Affects Versions: WD01
         Environment: [Proposed]
            Reporter: Ralf Handl
            Priority: Minor
             Fix For: 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]