mm-cal-js
Version:
Myanmar calendar calculation library
10 lines (9 loc) • 424 B
TypeScript
/**
* Checking Astrological days
* More details @ http://cool-emerald.blogspot.sg/2013/12/myanmar-astrological-calendar-days.html
* Get sabbath day and sabbath eve from JS date object.
* The API deviates from the original implementation. But, should output the same result.
* @param date JS date object
* @returns [1=sabbath, 2=sabbath eve, 0=else]
*/
export declare const isSabbath: (date: Date) => number;