Enum chinese_lunisolar_calendar::LunarMonth [−][src]
pub enum LunarMonth {}Show variants
First, LeapFirst, Second, LeapSecond, Third, LeapThird, Fourth, LeapFourth, Fifth, LeapFifth, Sixth, LeapSixth, Seventh, LeapSeventh, Eighth, LeapEighth, Ninth, LeapNinth, Tenth, LeapTenth, Eleventh, LeapEleventh, Twelfth, LeapTwelfth,
Expand description
列舉農曆十二個月份名稱:正月、二月、三月、四月、五月、六月、七月、八月、九月、十月、冬月、臘月。包含閏月。
Variants
正月
閏正月
二月
閏二月
三月
閏三月
四月
閏四月
五月
閏五月
六月
閏六月
七月
閏七月
八月
閏八月
九月
閏九月
十月
閏十月
冬月
閏冬月
臘月
閏臘月
Implementations
取得 LunarMonth
列舉實體所代表的農曆月份字串。
透過農曆月份數值和是否閏月來取得 LunarMonth
列舉實體。
是否為閏月。
傳入指定的農曆西曆年,並計算此農曆月在這個指定的農曆西曆年內共有幾天。
取得八字重量。
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for LunarMonth
impl Send for LunarMonth
impl Sync for LunarMonth
impl Unpin for LunarMonth
impl UnwindSafe for LunarMonth
Blanket Implementations
Mutably borrows from an owned value. Read more