tibetan-date-calculator
Version:
A library to calculate tibetan calendar details. It is based on Svante Janson's paper www2.math.uu.se/~svante/papers/calendars/tibet.pdf
12 lines (11 loc) • 649 B
TypeScript
/**
* The date at the end of the lunar day (similar to month count since beginning of epoch, but for days)
* It is calculated by first calculating a simpler mean date, corresponding to the linear mean motion of
* the moon, and then adjusting it by the equations of the moon and sun, which are determined by the
* anomalies of the moon and sun together with tables.
* @param {number} day - the tibetan day
* @param {number} monthCount - month count since beginning of epoch
* @returns {number}
*/
declare const trueDateFromMonthCountDay: (day: number, monthCount: number) => number;
export default trueDateFromMonthCountDay;