Struct icu_calendar::buddhist::Buddhist
source · [−]pub struct Buddhist;
Expand description
The Thai Solar Buddhist Calendar
This is basically the same as the Gregorian calendar, however it has a different zero year: 1 AD = 544 BE
Trait Implementations
The calendar-specific month represented by date
The calendar-specific day-of-month represented by date
Information of the day of the year
type DateInner = IsoDateInner
type DateInner = IsoDateInner
The internal type used to represent dates
Construct the date from an ISO date
Obtain an ISO date from this date
Count the number of months in a given year, specified by providing a date from that year Read more
Count the number of days in a given year, specified by providing a date from that year Read more
Count the number of days in a given month, specified by providing a date from that year/month Read more
Add offset
to date
fn until(
&self,
date1: &Self::DateInner,
date2: &Self::DateInner,
largest_unit: DateDurationUnit,
smallest_unit: DateDurationUnit
) -> DateDuration<Self>
fn until(
&self,
date1: &Self::DateInner,
date2: &Self::DateInner,
largest_unit: DateDurationUnit,
smallest_unit: DateDurationUnit
) -> DateDuration<Self>
Calculate date2 - date
as a duration
Obtain a name for the calendar for debug printing
Calculate the day of the week and return it
Auto Trait Implementations
impl RefUnwindSafe for Buddhist
impl UnwindSafe for Buddhist
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn filterable(
self,
filter_name: &'static str
) -> RequestFilterDataProvider<T, fn(&DataRequest) -> bool>
pub fn filterable(
self,
filter_name: &'static str
) -> RequestFilterDataProvider<T, fn(&DataRequest) -> bool>
Creates a filterable data provider with the given name for debugging. Read more