pub struct LunisolarDate {
pub year: i32,
pub month: u32,
pub day: u32,
pub is_leap_month: bool,
pub boundary_uncertain: bool,
}Expand description
A Chinese lunisolar date.
Fields§
§year: i32§month: u32§day: u32§is_leap_month: bool§boundary_uncertain: boolTrue if the deciding new moon is within the ΔT-prediction uncertainty of
Beijing midnight, so the date could shift by a day under a different but
equally plausible future ΔT model. Always false for ΔT-observed years
(≤ 2050); see docs/validation.md “ΔT limit”.
Trait Implementations§
Source§impl Clone for LunisolarDate
impl Clone for LunisolarDate
Source§fn clone(&self) -> LunisolarDate
fn clone(&self) -> LunisolarDate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LunisolarDate
Source§impl Debug for LunisolarDate
impl Debug for LunisolarDate
impl Eq for LunisolarDate
Source§impl PartialEq for LunisolarDate
impl PartialEq for LunisolarDate
impl StructuralPartialEq for LunisolarDate
Auto Trait Implementations§
impl Freeze for LunisolarDate
impl RefUnwindSafe for LunisolarDate
impl Send for LunisolarDate
impl Sync for LunisolarDate
impl Unpin for LunisolarDate
impl UnsafeUnpin for LunisolarDate
impl UnwindSafe for LunisolarDate
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