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) • 436 B
TypeScript
/**
* get Unix date from Julian date
* since we use only date calculations here, there is no need to correct for timezone differences
* see explanation:
* https://stackoverflow.com/questions/11759992/calculating-jdayjulian-day-in-javascript
*
* @param {number} julianDate - the julian date
* @return {Date}
*/
declare const unixFromJulian: (julianDate: number) => Date;
export default unixFromJulian;