View Javadoc

1   
2   package edu.iris.Fissures.model;
3   
4   /***
5    * LeapSecondHistory.java
6    * Records leapseconds so that time differences may be converted properly.
7    * The data is from 
8    * <a href="ftp://maia.usno.navy.mil/ser7/tai-utc.dat">tai-utc.dat</a>.<BREAK>
9    * and more info can be found at
10   * <a href="http://maia.usno.navy.mil/>maia.usno.navy.mil</a>
11   *
12   *
13   * Created: Fri Oct  1 12:04:08 1999
14   *
15   * @author Philip Crotwell
16   * @version
17   */
18  
19  public class LeapSecondHistory  {
20  
21      public static LeapSecondHistory getLeapSecondHistory() {
22          return singleton;
23      }
24  
25      
26      
27      /*** use singleton pattern. */
28      private LeapSecondHistory() {
29          leaps = new LeapSecond[22];
30      }
31  
32      private static LeapSecondHistory singleton = new LeapSecondHistory();
33  
34      protected static LeapSecond[] leaps;
35      
36  } // LeapSecondHistory