]> Cypherpunks.ru repositories - gotai64n.git/blob - db.go
Unify copyright comment format
[gotai64n.git] / db.go
1 // go.cypherpunks.ru/tai64n -- Pure Go TAI64/TAI64N implementation
2 // Copyright (C) 2020-2024 Sergey Matveev <stargrave@stargrave.org>
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, version 3 of the License.
7 //
8 // This program is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 // GNU General Public License for more details.
12 //
13 // You should have received a copy of the GNU General Public License
14 // along with this program.  If not, see <http://www.gnu.org/licenses/>.
15
16 package tai64n
17
18 import "time"
19
20 func init() {
21         LeapsecsDB = []int64{
22                 time.Date(2017, 1, 1, 0, 0, 0, 0, time.UTC).Unix(),
23                 time.Date(2015, 7, 1, 0, 0, 0, 0, time.UTC).Unix(),
24                 time.Date(2012, 7, 1, 0, 0, 0, 0, time.UTC).Unix(),
25                 time.Date(2009, 1, 1, 0, 0, 0, 0, time.UTC).Unix(),
26                 time.Date(2006, 1, 1, 0, 0, 0, 0, time.UTC).Unix(),
27                 time.Date(1999, 1, 1, 0, 0, 0, 0, time.UTC).Unix(),
28                 time.Date(1997, 7, 1, 0, 0, 0, 0, time.UTC).Unix(),
29                 time.Date(1996, 1, 1, 0, 0, 0, 0, time.UTC).Unix(),
30                 time.Date(1994, 7, 1, 0, 0, 0, 0, time.UTC).Unix(),
31                 time.Date(1993, 7, 1, 0, 0, 0, 0, time.UTC).Unix(),
32                 time.Date(1992, 7, 1, 0, 0, 0, 0, time.UTC).Unix(),
33                 time.Date(1991, 1, 1, 0, 0, 0, 0, time.UTC).Unix(),
34                 time.Date(1990, 1, 1, 0, 0, 0, 0, time.UTC).Unix(),
35                 time.Date(1988, 1, 1, 0, 0, 0, 0, time.UTC).Unix(),
36                 time.Date(1985, 7, 1, 0, 0, 0, 0, time.UTC).Unix(),
37                 time.Date(1983, 7, 1, 0, 0, 0, 0, time.UTC).Unix(),
38                 time.Date(1982, 7, 1, 0, 0, 0, 0, time.UTC).Unix(),
39                 time.Date(1981, 7, 1, 0, 0, 0, 0, time.UTC).Unix(),
40                 time.Date(1980, 1, 1, 0, 0, 0, 0, time.UTC).Unix(),
41                 time.Date(1979, 1, 1, 0, 0, 0, 0, time.UTC).Unix(),
42                 time.Date(1978, 1, 1, 0, 0, 0, 0, time.UTC).Unix(),
43                 time.Date(1977, 1, 1, 0, 0, 0, 0, time.UTC).Unix(),
44                 time.Date(1976, 1, 1, 0, 0, 0, 0, time.UTC).Unix(),
45                 time.Date(1975, 1, 1, 0, 0, 0, 0, time.UTC).Unix(),
46                 time.Date(1974, 1, 1, 0, 0, 0, 0, time.UTC).Unix(),
47                 time.Date(1973, 1, 1, 0, 0, 0, 0, time.UTC).Unix(),
48                 time.Date(1972, 7, 1, 0, 0, 0, 0, time.UTC).Unix(),
49         }
50 }