pub struct Header {
pub version: u8,
pub isutcnt: u32,
pub isstdcnt: u32,
pub leapcnt: u32,
pub timecnt: u32,
pub typecnt: u32,
pub charcnt: u32,
}tzif only.Expand description
TZIF header.
Fields§
§version: u8Block version.
isutcnt: u32A four-octet unsigned integer specifying the number of UT/local indicators contained in the data block – MUST either be zero or equal to “typecnt”.
isstdcnt: u32A four-octet unsigned integer specifying the number of standard/wall indicators contained in the data block – MUST either be zero or equal to “typecnt”.
leapcnt: u32A four-octet unsigned integer specifying the number of leap-second records contained in the data block.
timecnt: u32A four-octet unsigned integer specifying the number of transition times contained in the data block.
typecnt: u32A four-octet unsigned integer specifying the number of local time type records contained in the data block – MUST NOT be zero.
charcnt: u32A four-octet unsigned integer specifying the total number of octets used by the set of time zone designations contained in the data block - MUST NOT be zero.