Skip to content

Documentation / @interstellar-tools/types / LeapSecondInterface

Interface: LeapSecondInterface ​

Defined in: temporal.ts:193

One step in the leap second table: the offset TAI − UTC from a given UTC day on.

Example ​

ts
const step: LeapSecondInterface = { date: '2017-01-01', taiMinusUtc: 37 };

Properties ​

date ​

ts
date: string;

Defined in: temporal.ts:195

The first UTC day with this offset, as YYYY-MM-DD. The leap second itself is the last second of the day before, 23:59:60.


taiMinusUtc ​

ts
taiMinusUtc: number;

Defined in: temporal.ts:197

TAI − UTC from that day on, in s.