On Aug 16, 2006, at 06:33, mozer wrote:
A lot of work as already been done by the W3C XSL WG on calendar
(and even negative year in needed)
http://www.w3.org/TR/xslt20/#lang-cal-country
The first sentence reads:
"The set of languages, calendars, and countries that are supported in
the date formatting functions is implementation-defined."
"Implementation-defined" is a fancy way of saying "the committee
couldn't agree on a realistic interoperable solution".
Good luck researching country-specific Julian/Gregorian roll-over
dates and new year rules. The current country codes don't cover for
example Venice adopting the modern new year rule at a different time
than Rome.
And good luck supporting calendars that even ICU doesn't know about.
Non-Gregorian calendars are a huge can of worms. Let's put the lid
back on right away.
--
Henri Sivonen
[EMAIL PROTECTED]
http://hsivonen.iki.fi/