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§

source

fn to_epoch(&self) -> u32

source

fn from_epoch(epoch: u32) -> Self

source

fn from_epoch_to(dt: &mut Self, epoch: u32)

Object Safety§

This trait is not object safe.

Implementors§