pub trait OffsetDateTimeExt: OffsetDateTimeExt {
    // Required method
    fn to_timezone<T: TimeZone>(&self, tz: &T) -> OffsetDateTime;
}

Required Methods§

source

fn to_timezone<T: TimeZone>(&self, tz: &T) -> OffsetDateTime

Converts this OffsetDateTime to a different TimeZone.

Implementations on Foreign Types§

source§

impl OffsetDateTimeExt for OffsetDateTime

Implementors§