pub(crate) fn major_solar_term_from_fixed<C: ChineseBased>(date: RataDie) -> u32
Expand description
Get the current major solar term of a fixed date, output as an integer from 1..=12.
Based on functions from Calendrical Calculations by Reingold & Dershowitz. Lisp reference code: https://github.com/EdReingold/calendar-code2/blob/main/calendar.l#L5273-L5281