Trait playdate::system::time::PDDateTimeExt
source · pub trait PDDateTimeExt {
// Required methods
fn to_epoch(&self) -> u32;
fn from_epoch(epoch: u32) -> Self;
fn from_epoch_to(dt: &mut Self, epoch: u32);
}
Required Methods§
fn to_epoch(&self) -> u32
fn from_epoch(epoch: u32) -> Self
fn from_epoch_to(dt: &mut Self, epoch: u32)
Object Safety§
This trait is not object safe.