[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: year

  • From: Wayne Steele <xmlmaster@h...>
  • To: mike@w..., elharo@m...
  • Date: Thu, 21 Dec 2000 16:45:44 -0800

java is0 8601
When dating historical events, the Gregorian calendar is of limited use 
unless it was the contemporary calendar at the time.

Notice that this applies even in the twentieth century, with 'old-style' vs 
'new-style' dates for events in pre-bolshevik Russia.

I wonder if anyone knows of a good, serious methodology for representing 
antiquarian dates?



-Wayne Steele



>From: Michael Fitzgerald <mike@w...>
>To: Elliotte Rusty Harold <elharo@m...>
>CC: xml-dev@l...
>Subject: RE: year
>Date: Thu, 21 Dec 2000 14:55:59 -0800
>
>xsd:year is based on IS0 8601, which is Gregorian-centric, i.e., CCYY where
>CC = century, YY = year, > 1581.
>
>You can find a copy of 8601 at http://www.iso.ch/markete/8601.pdf.
>
>However: "To accommodate year values outside the range from 0001 to 9999,
>additional digits can be added to the left of this representation and a
>preceding "-" is allowed." (see http://www.w3.org/TR/xmlschema-2/#year, 
>then
>section 3.3.29.1)
>
>I hope Henry T. speaks up, if he is not already on holiday.
>
>Mike
>
>-----Original Message-----
>From: Elliotte Rusty Harold [mailto:elharo@m...]
>Sent: Thursday, December 21, 2000 2:20 PM
>To: xml-dev
>Subject: xsd:year
>
>
>The xsd:year type in the W3C XML schema language represents a year
>such as 1999, 2000, or 2001. Three questions:
>
>1. Can it handle years in the first millenium  like 987? 234? 62? or
>6? Can I specify these with the minimum number of digits logically
>required? Or do I have to write 0987, 0062, and 0006?
>
>2. How is a year before 1. C.E. represented? For example how would I
>specify the year when Julius Caesar crossed the Rubicon? -49?
>
>3. What about years in the far future like 10000? 100000? 1000000?
>
>--
>
>+-----------------------+------------------------+-------------------+
>| Elliotte Rusty Harold | elharo@m... | Writer/Programmer |
>+-----------------------+------------------------+-------------------+
>|                  The XML Bible (IDG Books, 1999)                   |
>|              http://metalab.unc.edu/xml/books/bible/               |
>|   http://www.amazon.com/exec/obidos/ISBN=0764532367/cafeaulaitA/   |
>+----------------------------------+---------------------------------+
>|  Read Cafe au Lait for Java News:  http://metalab.unc.edu/javafaq/ |
>|  Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/     |
>+----------------------------------+---------------------------------+
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


  • Follow-Ups:
    • RE: year
      • From: Steve Rowe <sarowe@t...>

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.