pub fn switch_timezone(&mut self, target_timezone: i32) {
        let delta = target_timezone - self.timezone;
        self.offset_seconds(delta);
        self.timezone = target_timezone;
    }
/// Switches the timezone to the target timezone in seconds.

Switches the timezone to the target timezone in seconds.
Switches the timezone to the target timezone in seconds .
pub fn switch_timezone(&mut self, target_timezone: i32) {
        let delta = target_timezone - self.timezone;
        self.offset_seconds(delta);
        self.timezone = target_timezone;
    }
pub fn switch_timezone ( & mut self , target_timezone : i32 ) { let delta = target_timezone - self . timezone ; self . offset_seconds ( delta ) ; self . timezone = target_timezone ; }
Switches the timezone to the target timezone in seconds.
Switches the timezone to the target timezone in seconds .
&mut self
target_timezone
i32