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
11 lines (10 loc) • 364 B
TypeScript
/**
* get Julian date from UNIX date
* see explanation:
* https://stackoverflow.com/questions/11759992/calculating-jdayjulian-day-in-javascript
*
* @property {Date} unixTime - the date object to be converted
* @return {number} - julian date
*/
declare const julianFromUnix: (unixTime: Date) => number;
export default julianFromUnix;