Trait cftime_rs::datetimes::traits::CalendarDatetimeCreator
source · pub trait CalendarDatetimeCreatorwhere
Self: Sized,{
// Required methods
fn from_ymd_hms(
year: i64,
month: u8,
day: u8,
hour: u8,
minute: u8,
second: f32
) -> Result<Self, Error>;
fn from_timestamp(timestamp: i64, nanoseconds: u32) -> Self;
}Required Methods§
fn from_ymd_hms( year: i64, month: u8, day: u8, hour: u8, minute: u8, second: f32 ) -> Result<Self, Error>
fn from_timestamp(timestamp: i64, nanoseconds: u32) -> Self
Object Safety§
This trait is not object safe.