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
//! The leap-second table model (T11) — **a distinct time model, not a transition stream.**
//!
//! ## Invariant (do not let this bleed into ordinary-zone code)
//!
//! Leap seconds are **not** local-time-type transitions:
//! * they do not select an abbreviation,
//! * they do not change `isdst`,
//! * they only contribute to the TZif **leap-second correction table**.
//!
//! These types are deliberately separate from [`crate::tzif::Transition`] /
//! [`crate::tzif::LocalTimeType`] so the distinction is visible in code. They are parsed *only* from
//! an explicit leap-source file (see [`crate::source::parse_leap_source`]); the ordinary `tzdata.zi`
//! zone-source path never produces them.
/// One leap-second table entry.
/// A parsed leap-second table: the entries plus an optional table-expiry instant.