Struct icu_calendar::julian::Julian
source · [−]pub struct Julian;
Implementations
Trait Implementations
The calendar-specific month represented by date
The calendar-specific day-of-month represented by date
type DateInner = JulianDateInner
type DateInner = JulianDateInner
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
Calculate the day of the week and return it
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
Information of the day of the year
Obtain a name for the calendar for debug printing
Auto Trait Implementations
impl RefUnwindSafe for Julian
impl UnwindSafe for Julian
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