Function calendrical_calculations::chinese_based::midnight
source · pub(crate) fn midnight<C: ChineseBased>(moment: Moment) -> Moment
Expand description
Universal time of midnight at start of a Moment’s day at the observation location
Based on functions from Calendrical Calculations by Reingold & Dershowitz. Lisp reference code: https://github.com/EdReingold/calendar-code2/blob/main/calendar.l#L5353-L5357