File: offsets.go

package info (click to toggle)
golang-github-cactus-tai64 1.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 96 kB
  • sloc: makefile: 5
file content (49 lines) | stat: -rw-r--r-- 2,242 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// Copyright (c) 2012-2016 Eli Janssen
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.

// THIS FILE IS AUTOGENERATED. DO NOT EDIT!

package tai64

// https://hpiers.obspm.fr/iers/bul/bulc/Leap_Second.dat
// http://www.stjarnhimlen.se/comp/time.html
var tia64nDifferences = []struct {
	// TAI time
	ttime int64
	// TAI-UTC offset
	offset int64
	// unix UTC time
	utime int64
}{
	{0x4000000003c2670a, 10, 63072000},   // 1972-01-01T00:00:00Z
	{0x4000000004b2580b, 11, 78796800},   // 1972-07-01T00:00:00Z
	{0x4000000005a4ec0c, 12, 94694400},   // 1973-01-01T00:00:00Z
	{0x4000000007861f8d, 13, 126230400},  // 1974-01-01T00:00:00Z
	{0x400000000967530e, 14, 157766400},  // 1975-01-01T00:00:00Z
	{0x400000000b48868f, 15, 189302400},  // 1976-01-01T00:00:00Z
	{0x400000000d2b0b90, 16, 220924800},  // 1977-01-01T00:00:00Z
	{0x400000000f0c3f11, 17, 252460800},  // 1978-01-01T00:00:00Z
	{0x4000000010ed7292, 18, 283996800},  // 1979-01-01T00:00:00Z
	{0x4000000012cea613, 19, 315532800},  // 1980-01-01T00:00:00Z
	{0x40000000159fca94, 20, 362793600},  // 1981-07-01T00:00:00Z
	{0x400000001780fe15, 21, 394329600},  // 1982-07-01T00:00:00Z
	{0x4000000019623196, 22, 425865600},  // 1983-07-01T00:00:00Z
	{0x400000001d25ea17, 23, 489024000},  // 1985-07-01T00:00:00Z
	{0x4000000021dae518, 24, 567993600},  // 1988-01-01T00:00:00Z
	{0x40000000259e9d99, 25, 631152000},  // 1990-01-01T00:00:00Z
	{0x40000000277fd11a, 26, 662688000},  // 1991-01-01T00:00:00Z
	{0x400000002a50f59b, 27, 709948800},  // 1992-07-01T00:00:00Z
	{0x400000002c32291c, 28, 741484800},  // 1993-07-01T00:00:00Z
	{0x400000002e135c9d, 29, 773020800},  // 1994-07-01T00:00:00Z
	{0x4000000030e7241e, 30, 820454400},  // 1996-01-01T00:00:00Z
	{0x4000000033b8489f, 31, 867715200},  // 1997-07-01T00:00:00Z
	{0x40000000368c1020, 32, 915148800},  // 1999-01-01T00:00:00Z
	{0x4000000043b71ba1, 33, 1136073600}, // 2006-01-01T00:00:00Z
	{0x40000000495c07a2, 34, 1230768000}, // 2009-01-01T00:00:00Z
	{0x400000004fef9323, 35, 1341100800}, // 2012-07-01T00:00:00Z
	{0x4000000055932da4, 36, 1435708800}, // 2015-07-01T00:00:00Z
	{0x40000000586846a5, 37, 1483228800}, // 2017-01-01T00:00:00Z
}

var tia64nSize = len(tia64nDifferences)