pub fn get_timechanges(
requested_timezone: &str,
y: Option<i32>,
) -> Result<Vec<Timechange>, TzError>Expand description
Returns year’s timechanges for a timezone. If year is Some(0), returns current year’s timechanges. If there’s no timechange for selected year, returns the last occured timechange to see selected zone’s applying parameters. If no year (None) is specified, returns all time changes recorded in the TZfile .