calendrical_calculations::chinese_based

Function days_in_prev_year

Source
pub fn days_in_prev_year<C: ChineseBased>(new_year: RataDie) -> u16
Expand description

Given a new year, calculate the number of days in the previous year