Trait perDiem::types::datekindEvals
source · 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§
fn isLeapYear(&self) -> bool
fn weekday(&self) -> Result<String, Error>
fn weekday_as_int(&self) -> Result<i8, Error>
Object Safety§
This trait is not object safe.