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