Trait OffsetDateTimeExt

Source
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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl OffsetDateTimeExt for OffsetDateTime

Implementors§