#[non_exhaustive]pub struct UmmAlQura;Expand description
Hijri [Rules] for the Umm al-Qura calendar.
From the start of 1300 AH (1882-11-12 ISO) to the end of 1600 AH (2174-11-25 ISO), this
Rules implementation uses Umm al-Qura month lengths obtained from
KACST. Outside this range, this implementation falls back to
TabularAlgorithm with TabularAlgorithmLeapYears::TypeII and TabularAlgorithmEpoch::Friday.
The precise behavior of this calendar may change in the future if:
- New ground truth is established by published government sources
- We decide to use a different algorithm outside the KACST range
- We decide to expand or reduce the range where we are correctly handling past dates.
This corresponds to the "islamic-umalqura" CLDR calendar.
Trait Implementations§
impl Copy for UmmAlQura
Auto Trait Implementations§
impl Freeze for UmmAlQura
impl RefUnwindSafe for UmmAlQura
impl Send for UmmAlQura
impl Sync for UmmAlQura
impl Unpin for UmmAlQura
impl UnwindSafe for UmmAlQura
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more