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: RE: ODATA-1394 [was: 8601 used by Redfish]


Regarding (a), section 4.4.4.3 in https://www.loc.gov/standards/datetime/iso-tc154-wg5_n0038_iso_wd_8601-1_2016-02-16.pdf represents a time interval by start and duration. This implies an arithmetic operation to determine the end, e.g., in 20190227/P1M2D (the example in b).

 

Heiko

 

 


Von: Christof Sprenger <chrispre@microsoft.com>
Gesendet: Friday, September 18, 2020 4:01:32 AM
An: Ericson, George <George.Ericson@dell.com>; Handl, Ralf <ralf.handl@sap.com>
Cc: odata@lists.oasis-open.org <odata@lists.oasis-open.org>
Betreff: ODATA-1394 [was: 8601 used by Redfish]

 

Hi,

 

I did some more research around ODATA-1394

 

 

a)  I was not able to find anything that states that ISO 8601 talks about the arithmetic operations for durations or any other type.

I can not guarantee that they donât since the ISO standard requires a license and I do not have access to a licensed version but I couldnât find any indication that it does.

 


b) I had to double check it myself and can now confidently confirm what you, Ralf brought up .
When adding 1 month and 2 days to 2019-02-27

         Month first leads to 2019-03-29    (2019-02-27 -> 2019-03-27 -> 2019-02-29 )

         Days first leads  to 2019-04-01    (2019-02-27 -> 2019-03-01 -> 2019-04-01 )

 



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