UNPKG

adbsmagic

Version:

A package for AD to BS and BS to AD date conversion

13 lines (12 loc) 544 B
import { EnglishDate, NepaliDate } from "./types"; /** * currently can only calculate the date between AD 1944-2033... * Convert English (Gregorian) date to Nepali (Bikram Sambat) date */ declare const englishToNepali: (yy: number, mm: number, dd: number) => NepaliDate; /** * Currently can only calculate the date between BS 2009 and 2089 * Convert Nepali (Bikram Sambat) date to English (Gregorian) date */ declare const nepaliToEnglish: (yy: number, mm: number, dd: number) => EnglishDate; export { englishToNepali, nepaliToEnglish };