leapseconds

来自「一个C源代码分析器」· 代码 · 共 42 行

TXT
42
字号
# @(#)leapseconds	7.7# Allowance for leapseconds added to each timezone file.# The International Earth Rotation Service periodically uses leap seconds# to keep UTC to within 0.9 s of TAI (atomic time); see# Terry J Quinn, The BIPM and the accurate measure of time,# Proc IEEE 79, 7 (July 1991), 894-905.# There were no leap seconds before 1972, because the official mechanism# accounting for the discrepancy between atomic time and the earth's rotation# did not exist until the early 1970s.# The correction (+ or -) is made at the given time, so lines# will typically look like:#	Leap	YEAR	MON	DAY	23:59:60	+	R/S# or#	Leap	YEAR	MON	DAY	23:59:59	-	R/S# If the leapsecond is Rolling (R) the given time is local time# If the leapsecond is Stationary (S) the given time is GMT# Leap	YEAR	MONTH	DAY	HH:MM:SS	CORR	R/SLeap	1972	Jun	30	23:59:60	+	SLeap	1972	Dec	31	23:59:60	+	SLeap	1973	Dec	31	23:59:60	+	SLeap	1974	Dec	31	23:59:60	+	SLeap	1975	Dec	31	23:59:60	+	SLeap	1976	Dec	31	23:59:60	+	SLeap	1977	Dec	31	23:59:60	+	SLeap	1978	Dec	31	23:59:60	+	SLeap	1979	Dec	31	23:59:60	+	SLeap	1981	Jun	30	23:59:60	+	SLeap	1982	Jun	30	23:59:60	+	SLeap	1983	Jun	30	23:59:60	+	SLeap	1985	Jun	30	23:59:60	+	SLeap	1987	Dec	31	23:59:60	+	SLeap	1989	Dec	31	23:59:60	+	SLeap	1990	Dec	31	23:59:60	+	SLeap	1992	Jun	30	23:59:60	+	SLeap	1993	Jun	30	23:59:60	+	SLeap	1994	Jun	30	23:59:60	+	S

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?