make/sun/javazic/tzdata/solar89

Print this page
rev 247 : 6872467: (tz) Support tzdata2009l
Reviewed-by: okutsu


   4 # This code is free software; you can redistribute it and/or modify it
   5 # under the terms of the GNU General Public License version 2 only, as
   6 # published by the Free Software Foundation.  Sun designates this
   7 # particular file as subject to the "Classpath" exception as provided
   8 # by Sun in the LICENSE file that accompanied this code.
   9 #  
  10 # This code is distributed in the hope that it will be useful, but WITHOUT
  11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13 # version 2 for more details (a copy is included in the LICENSE file that
  14 # accompanied this code).
  15 #  
  16 # You should have received a copy of the GNU General Public License version
  17 # 2 along with this work; if not, write to the Free Software Foundation,
  18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19 #  
  20 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
  21 # CA 95054 USA or visit www.sun.com if you need additional information or
  22 # have any questions.
  23 #
  24 # @(#)solar89   8.1


  25 
  26 # Apparent noon times below are for Riyadh; they're a bit off for other places.
  27 # Times were computed using a formula provided by the U. S. Naval Observatory:
  28 #       eqt = -105.8 * sin(l) + 596.2 * sin(2 * l) + 4.4 * sin(3 * l)
  29 #               -12.7 * sin(4 * l) - 429.0 * cos(l) - 2.1 * cos (2 * l)
  30 #               + 19.3 * cos(3 * l);
  31 # where l is the "mean longitude of the Sun" given by
  32 #       l = 279.642 degrees + 0.985647 * d
  33 # and d is the interval in days from January 0, 0 hours Universal Time
  34 # (equaling the day of the year plus the fraction of a day from zero hours).
  35 # The accuracy of the formula is plus or minus three seconds.
  36 #
  37 # Rounding to the nearest five seconds results in fewer than
  38 # 256 different "time types"--a limit that's faced because time types are
  39 # stored on disk as unsigned chars.
  40 
  41 # Rule  NAME    FROM    TO      TYPE    IN      ON      AT      SAVE    LETTER/S
  42 Rule    sol89   1989    only    -       Jan     1       12:03:35s -0:03:35 -
  43 Rule    sol89   1989    only    -       Jan     2       12:04:05s -0:04:05 -
  44 Rule    sol89   1989    only    -       Jan     3       12:04:30s -0:04:30 -




   4 # This code is free software; you can redistribute it and/or modify it
   5 # under the terms of the GNU General Public License version 2 only, as
   6 # published by the Free Software Foundation.  Sun designates this
   7 # particular file as subject to the "Classpath" exception as provided
   8 # by Sun in the LICENSE file that accompanied this code.
   9 #  
  10 # This code is distributed in the hope that it will be useful, but WITHOUT
  11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13 # version 2 for more details (a copy is included in the LICENSE file that
  14 # accompanied this code).
  15 #  
  16 # You should have received a copy of the GNU General Public License version
  17 # 2 along with this work; if not, write to the Free Software Foundation,
  18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19 #  
  20 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
  21 # CA 95054 USA or visit www.sun.com if you need additional information or
  22 # have any questions.
  23 #
  24 # <pre>
  25 # This file is in the public domain, so clarified as of
  26 # 2009-05-17 by Arthur David Olson.
  27 
  28 # Apparent noon times below are for Riyadh; they're a bit off for other places.
  29 # Times were computed using a formula provided by the U. S. Naval Observatory:
  30 #       eqt = -105.8 * sin(l) + 596.2 * sin(2 * l) + 4.4 * sin(3 * l)
  31 #               -12.7 * sin(4 * l) - 429.0 * cos(l) - 2.1 * cos (2 * l)
  32 #               + 19.3 * cos(3 * l);
  33 # where l is the "mean longitude of the Sun" given by
  34 #       l = 279.642 degrees + 0.985647 * d
  35 # and d is the interval in days from January 0, 0 hours Universal Time
  36 # (equaling the day of the year plus the fraction of a day from zero hours).
  37 # The accuracy of the formula is plus or minus three seconds.
  38 #
  39 # Rounding to the nearest five seconds results in fewer than
  40 # 256 different "time types"--a limit that's faced because time types are
  41 # stored on disk as unsigned chars.
  42 
  43 # Rule  NAME    FROM    TO      TYPE    IN      ON      AT      SAVE    LETTER/S
  44 Rule    sol89   1989    only    -       Jan     1       12:03:35s -0:03:35 -
  45 Rule    sol89   1989    only    -       Jan     2       12:04:05s -0:04:05 -
  46 Rule    sol89   1989    only    -       Jan     3       12:04:30s -0:04:30 -