type ChineseCB = Chinese;
Aliased Type§
struct ChineseCB;
Trait Implementations
Source§impl ChineseBased for Chinese
impl ChineseBased for Chinese
Source§const EPOCH: RataDie = CHINESE_EPOCH
const EPOCH: RataDie = CHINESE_EPOCH
The RataDie of the beginning of the epoch used for internal computation; this may not
reflect traditional methods of year-tracking or eras, since Chinese-based calendars
may not track years ordinally in the same way many western calendars do.
Source§const DEBUG_NAME: &'static str = "chinese"
const DEBUG_NAME: &'static str = "chinese"
The name of the calendar for debugging.
Source§fn location(fixed: RataDie) -> Location
fn location(fixed: RataDie) -> Location
Given a fixed date, return the location 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§fn extended_from_iso(iso_year: i32) -> i32
fn extended_from_iso(iso_year: i32) -> i32
Given an ISO year, return the extended year
Source§fn iso_from_extended(extended_year: i32) -> i32
fn iso_from_extended(extended_year: i32) -> i32
Given an extended year, return the ISO year