W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 1999

Yet more on time

From: Arnold, Curt <Curt.Arnold@hyprotech.com>
Date: Mon, 8 Nov 1999 16:34:44 -0700
Message-ID: <61DAD58E8F4ED211AC8400A0C9B46873415493@THOR>
To: "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
Trying to unify everything by making time of day a recurring time instance
just makes things more complex.

Basically, what I would like to see is:

time (that is time of day) as a fundamental type with a representation like

date as a fundamental type with a representation like 1999-11-08.

dateTime as an aggregate of these two types with a representation like

timeDuration as a fundamental type with a representation like P nnn
(Y|M|D|W|H|M|S).  This would allow things like a 120 day return policy that
could not be represented using the dateTime like formulation.  Not allowing
combination (like 1M5D) would eliminate the ambiguity that would occur when
the order of addition would result in different dates.

Time Periods, repeating time instances, repeating time periods, etc, should
have no built-in datatypes but should be represented in the schema by
combinations of dateTimes and/or timeDurations.
Received on Monday, 8 November 1999 18:37:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:45 UTC