UNPKG

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) 331 B
/** * Subtract 1 day from a date * @param {number} day - the tibetan day * @param {number} monthCount - month count since beginning of epoch * @returns {{day, monthCount}} */ declare const getDayBefore: (day: number, monthCount: number) => { day: number; monthCount: number; }; export default getDayBefore;