Once again I ask for an explanation of the requirement.
I have two areas of confusion.
First, the recent examples include, for example, "3rd Monday in Feb. 2011".
Is this a real example? The third Monday in February of 2011 is a real date
and can be represented as "2011-02-21". I had thought that you wanted to
represent "third Monday in February", independent of year, in order to
represent a pattern, as in this case a particular US holiday, i.e. George
Washington's Birthday, falls each year on the third Monday in February.
Second (as Bruce has already asked) assuming you want to represrent "third
Monday in February" why can't it be represented as the human readable string
'third Monday in February', or '3rd Mon. in Feb'; i.e. why does it need to
be normalized for computer readability? Can you provide a use case where
machine readability is necessary?
> -----Original Message-----
> From: Discussion of the Developing Date/Time Standards
> [mailto:[log in to unmask]] On Behalf Of Edward C. Zimmermann
> Sent: Thursday, February 24, 2011 8:04 AM
> To: [log in to unmask]
> Subject: Re: [DATETIME] Requirements // Ordinal and Week dates
> Sorry, I made a mistake anyway (brain was in stand-by).. ISO 8601
> 1 for Monday in Wnn-n, e.g. W12-7 for Sunday week 12.
> They count weeks starting (implicitly with 0 for Sunday or) 1 for
> Monday (Week One also includes Monday in the period 29 Dec to 4 Jan) to
> 7 for Sunday (with 0 eq 7). Zero is generally not used and ISO 8601
> stars with 1 for Monday. The Unix date format also uses 1 for Monday
> but starts counting with 0 for Sunday and does mod 7.
> On Thu, 24 Feb 2011 13:10:03 +0100, [UTF-8?]SaaÅ¡ha Metsärantala wrote
> > Hi,
> > > as Dnm where n is 1-7 (Sun to Sat) and m is
> > > 1 to 5 (or -5 to -1). [...] 2011-02-D13 would be read as the 3rd
> > > Monday in Feb. 2011
> > Which weekday would be day ONE: Sunday or Monday?
> > > The default day would be Sun.
> > Many weekdays have different cultural meanings. I would prefer to
> > avoid
> Its all about culture. The International Calendar is far from neutral..
> > any default weekday if there is not any obvious agreement on it and a
> > really strong reason for this choice.
> Following ISO 8601 is probably the best path here...
> > Regards!
> > [UTF-8?]SaaÅ¡ha,
> Edward C. Zimmermann, NONMONOTONIC LAB
> Umsatz-St-ID: DE130492967