pub struct Dangi;
Expand description
A type implementing ChineseBased
for the Dangi (Korean) calendar
Trait Implementations§
Source§impl ChineseBased for Dangi
impl ChineseBased for Dangi
Source§const EPOCH: RataDie
const EPOCH: RataDie
The first day in the Korean Dangi calendar (based on the founding of Gojoseon), lunar new year -2332
Source§const DEBUG_NAME: &'static str = "dangi"
const DEBUG_NAME: &'static str = "dangi"
The name of the calendar for debugging.
Source§fn utc_offset(fixed: RataDie) -> f64
fn utc_offset(fixed: RataDie) -> f64
Given a fixed date, return the UTC offset used for observations of the new moon in order to
calculate the beginning of months. For multiple Chinese-based lunar calendars, this has
changed over the years, and can cause differences in calendar date.
Source§impl Ord for Dangi
impl Ord for Dangi
Source§impl PartialOrd for Dangi
impl PartialOrd for Dangi
impl Eq for Dangi
impl StructuralPartialEq for Dangi
Auto Trait Implementations§
impl Freeze for Dangi
impl RefUnwindSafe for Dangi
impl Send for Dangi
impl Sync for Dangi
impl Unpin for Dangi
impl UnwindSafe for Dangi
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