pub trait datekindEvals {
    // Required methods
    fn isLeapYear(&self) -> bool;
    fn weekday(&self) -> Result<String, Error>;
    fn weekday_as_int(&self) -> Result<i8, Error>;
    fn sharesDay(&self, date2: &Self) -> bool;
    fn sharesMonth(&self, date2: &Self) -> bool;
    fn sharesYear(&self, date2: &Self) -> bool;
}
Expand description

Eval methods that are impl by macro for both Date and DateTime

Required Methods§

source

fn isLeapYear(&self) -> bool

source

fn weekday(&self) -> Result<String, Error>

source

fn weekday_as_int(&self) -> Result<i8, Error>

source

fn sharesDay(&self, date2: &Self) -> bool

source

fn sharesMonth(&self, date2: &Self) -> bool

source

fn sharesYear(&self, date2: &Self) -> bool

Object Safety§

This trait is not object safe.

Implementors§