Altova Mailing List Archives


Re: [xml-dev] Incompleteness of Duration

From: John Cowan <cowan@-------.----.--->
To: Michael Kay <mike@--------.--->
Date: 4/21/2012 8:07:00 PM
Michael Kay scripsit:

> It's worth noting that whereas there is some kind of consensus on
> when seconds, minutes, hours, days, months, and years start and end
> (subject to timezone issues), there is no consensus on when a week
> starts or ends. 

There is, however, an ISO standard: weeks begin on Monday, and the first
week of the year is the week containing the first Thursday in January.
Thus 2005-01-01, a Saturday, is synonymous with 2005-W53-6, the sixth
day of the 53rd and last week of 2004.

Note that XSD time does not include leap seconds, which means that the
XSD 1.1 value space for durations contains <second, month> pairs.
There are a fixed number of seconds in a minute, hour, and day, and a
fixed number of months in a year.

-- 
"Repeat this until 'update-mounts -v' shows no updates.         John Cowan
You may well have to log in to particular machines, hunt down   cowan@c...
people who still have processes running, and kill them."

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.