Day of week routine

Norman Diamond diamond at diamond.csl.sony.junet
Wed May 31 12:57:37 AEST 1989


Minor point first (it came first):
In article <554 at drd.UUCP> lawrence at tusun2.knet.utulsa.edu (Mark Lawrence) writes:

>>} Note that not all countries adopted the Gregorian calendar at the
>>} same time.  (Japan was quite late, something like 19th century?)
>>
>>Just going through receipts for an expense report for a trip last
>>week and I spot a receipt for a train-trip to Yumoto which took place on
>>May 15, 1 Heisei.  Last time I was there, everything was dated 63 (or was
>>it 64?) Showa.

Last time was Showa 63.  Showa 64 lasted one week, and Heisei 1 is the
rest of this year.  There is no Japanese name for this year as a whole.

Major point second:
In article <1989May29.232954.25638 at utzoo.uucp> henry at utzoo.uucp (Henry Spencer) writes:

>The mind boggles at how many programs had to be fixed to know about the
>new year numbering...

Yup.  But my mind boggles at how many programs will have to be fixed to
know that 2000 is a leap year ... and then all the programs that will
have to be fixed to know that 2000 is not 1900 and 2001 is not 1901,
and then that 1999 is not 2099, etc.  Of course these programs are
already broken because these facts are already known, and my mind
boggles at how many programmers and managers refuse to permit correct
programs to be written instead ... but just wait 'til they need fixing.

--
Norman Diamond, Sony Computer Science Lab (diamond%csl.sony.co.jp at relay.cs.net)
  The above opinions are my own.   |  Why are programmers criticized for
  If they're also your opinions,   |  re-implementing the wheel, when car
  you're infringing my copyright.  |  manufacturers are praised for it?



More information about the Comp.lang.c mailing list