home *** CD-ROM | disk | FTP | other *** search
/ linuxmafia.com 2016 / linuxmafia.com.tar / linuxmafia.com / pub / humour / dec-leap-year-2000 < prev    next >
Text File  |  2004-12-22  |  7KB  |  162 lines

  1.                    ******DEC INTERNAL USE ONLY******
  2.  
  3. SPR NUMBER:                  11-60903
  4.  
  5. ANSWER CATEGORY:             UE
  6. MAINTENANCE HOURS:           1
  7. DUPLICATE PROBLEM:     N
  8. DUPLICATE SPR NUMBER(S):
  9.  
  10. OPERATING SYSTEM:            VAX/VMS
  11.  
  12. O.S. VERSION:                V3.2
  13. PRODUCT:                     VAX/VMS
  14. PRODUCT VERSION:             V3.2
  15. COMPONENT:                   Run-Time Library
  16. SUB-COMPONENT:               LIB$ routines
  17.  
  18.  
  19. DATE ANSWERED:               13-Oct-1983
  20.  
  21. MAINTAINER:                  Stanley Rabinowitz
  22.  
  23.  
  24. ATTACHMENT:                  N
  25.  
  26. PUBLICATION INSTRUCTIONS:    N
  27.  
  28. SPR PROBLEM ABSTRACT:        User claims year 2000 should not be a leap year.
  29.  
  30. TITLE:                       -
  31. PUBLICATIONS:                -
  32. ADDITIONAL O.S. VERSIONS:
  33. ADDITIONAL PRODUCT VERSIONS:
  34. COMPONENT SEQUENCE NUMBER:
  35.  
  36. SUPERSEDES:
  37.  
  38. TYPE OF ARTICLE:
  39.  
  40.                             ANSWER CATEGORIES
  41.  
  42. CG=1=CORRECTION GIVEN       RS=5=RESTRICTION              SG=9=SUGGESTION
  43. FN=2=FIXED IN NEXT RELEASE  CS=6=CUSTOMER SUPPORTED       IQ=10=INQUIRY
  44. DE=3=DOCUMENTATION ERROR    NR=7=NON-REPRODUCIBLE         HW=11=HARDWARE
  45. UE=4=USER ERROR             II=8=INSUFFICIENT INFORMATION
  46.  
  47.                             TYPE OF ARTICLE
  48.  
  49. F=OPTIONAL FEATURE PATCH    N=NOTE
  50. M=MANDATORY PATCH           R=RESTRICTION
  51.  
  52.                          FOR MAINTENANCE USE
  53.  
  54.                      ******END OF DEC USE ONLY******
  55.                             D I G I T A L
  56.  
  57.                            SPR ANSWER FORM
  58.  
  59. SPR NO. 11-60903
  60.  
  61.  
  62.            SYSTEM   VERSION   PRODUCT   VERSION   COMPONENT
  63. SOFTWARE:  VAX/VMS  V3.2      VAX/VMS   V3.2      Run-Time Library
  64.  
  65.  
  66.  
  67. PROBLEM:
  68.  
  69. The LIB$DAY Run-Time Library service "incorrectly" assumes the year
  70. 2000 is a leap year.
  71.  
  72.  
  73. RESPONSE:
  74.  
  75. Thank you for your forward-looking SPR.
  76.  
  77. Various system services, such as SYS$ASCTIM assume that the year  2000
  78. will  be  a  leap  year.   Although one can never be sure of what will
  79. happen at some future time, there is strong historical  precedent  for
  80. presuming  that the present Gregorian calendar will still be in affect
  81. by the year 2000.  Since we also hope that VMS will still be around by
  82. then, we have chosen to adhere to these precedents.
  83.  
  84. The purpose of a calendar is to reckon time in advance,  to  show  how
  85. many  days  have  to  elapse  until a certain event takes place in the
  86. future, such as the harvest or the release of VMS  V4.   The  earliest
  87. calendars,  naturally,  were  crude  and  tended  to be based upon the
  88. seasons or the lunar cycle.
  89.  
  90. The calendar of the Assyrians, for example, was based upon the  phases
  91. of  the  moon.  They knew that a lunation (the time from one full moon
  92. to the next) was 29 1/2 days long, so their lunar year had a  duration
  93. of  364  days.   This  fell  short of the solar year by about 11 days.
  94. (The exact time for the solar year is approximately 365 days, 5 hours,
  95. 48  minutes,  and  46  seconds.)  After 3 years, such a lunar calendar
  96. would be off by a whole month, so the Assyrians added an  extra  month
  97. from  time  to time to keep their calendar in synchronization with the
  98. seasons.
  99.  
  100. The best approximation that was possible in antiquity  was  a  19-year
  101. period, with 7 of these 19 years having 13 months (leap months).  This
  102. scheme was adopted as the basis for the religious calendar used by the
  103. Jews.   (The  Arabs  also  used  this  calendar until Mohammed forbade
  104. shifting from 12 months to 13 months.)
  105.  
  106. When Rome emerged as a world  power,  the  difficulties  of  making  a
  107. calendar  were  well  known,  but  the  Romans complicated their lives
  108. because of their superstition that even numbers were  unlucky.   Hence
  109. their  months were 29 or 31 days long, with the exception of February,
  110. which had 28 days.  Every second year, the Roman calendar included  an
  111. extra  month  called  Mercedonius of 22 or 23 days to keep up with the
  112. solar year.
  113.  
  114. Even this algorithm was very poor, so that in 45 BC,  Caesar,  advised
  115. by  the  astronomer Sosigenes, ordered a sweeping reform.  By imperial
  116. decree, one year was made 445 days long to bring the calendar back  in
  117. step  with  the  seasons.  The new calendar, similar to the one we now
  118. use was called the Julian calendar (named after Julius Caesar).   It's
  119. months  were  30 or 31 days in length and every fourth year was made a
  120. leap year (having 366 days).  Caesar also decreed that the year  would
  121. start with the first of January, not the vernal equinox in late March.
  122.  
  123. Caesar's year was 11 1/2 minutes short of the calculations recommended
  124. by  Sosigenes  and  eventually the date of the vernal equinox began to
  125. drift.  Roger Bacon became alarmed and sent a note to Pope Clement IV,
  126. who  apparently  was  not  impressed.   Pope  Sixtus  IV  later became
  127. convinced that  another  reform  was  needed  and  called  the  German
  128. astronomer,  Regiomontanus,  to  Rome  to  advise him.  Unfortunately,
  129. Regiomontanus died of the plague shortly thereafter and the plans died
  130. as well.
  131.  
  132. In 1545, the Council of Trent authorized Pope Gregory XIII  to  reform
  133. the  calendar  once  more.   Most of the mathematical work was done by
  134. Father Christopher Clavius, S.J.  The immediate  correction  that  was
  135. adopted  was  that Thursday, October 4, 1582 was to be the last day of
  136. the Julian calendar.  The next  day  was  Friday,  with  the  date  of
  137. October  15.   For  long  range  accuracy,  a formula suggested by the
  138. Vatican librarian Aloysius Giglio was adopted.   It  said  that  every
  139. fourth  year  is  a  leap  year  except for century years that are not
  140. divisible by 400.  Thus 1700, 1800 and 1900 would not be  leap  years,
  141. but  2000  would  be a leap year since 2000 is divisible by 400.  This
  142. rule eliminates 3 leap years every 4 centuries,  making  the  calendar
  143. sufficiently  correct  for  most  ordinary purposes.  This calendar is
  144. known as the Gregorian calendar and is the one that we now use  today.
  145. (It  is  interesting  to note that in 1582, all the Protestant princes
  146. ignored the papal decree and so many countries continued  to  use  the
  147. Julian  calendar  until either 1698 or 1752.  In Russia, it needed the
  148. revolution to introduce the Gregorian calendar in 1918.)
  149.  
  150. This explains why VMS chooses to treat the year 2000 as a leap year.
  151.  
  152. Despite the great accuracy of the Gregorian calendar, it  still  falls
  153. behind very slightly every few years.  If you are very concerned about
  154. this problem, we suggest that you tune in  short  wave  radio  station
  155. WWV,  which  broadcasts  official  time  signals for use in the United
  156. States.  About once every 3 years, they declare a leap second at which
  157. time  you  should be careful to adjust your system clock.  If you have
  158. trouble picking up their signals, we suggest you  purchase  an  atomic
  159. clock (not manufactured by Digital and not a VAX option at this time).
  160.  
  161.                          END OF SPR RESPONSE
  162.