Skip to main content

parse_leap_source

Function parse_leap_source 

Source
pub fn parse_leap_source(bytes: &[u8], file: &Path) -> Result<LeapTable>
Expand description

Parse an explicit leap-source file into a LeapTable. Recognises only Leap/Expires; any other line (incl. Rule/Zone/Link) is rejected as an unknown line type — matching reference zic’s leap-file keyword table.