date-picker-np
Version:
Nepali Date Picker for React
14 lines (13 loc) • 699 B
TypeScript
export declare const extractDateData: (date: string) => {
year: string;
month: string;
day: string;
};
export declare const isValidNepaliDate: (date?: string) => boolean;
export declare const getNumberOfDaysInMonth: (date: string) => number;
export declare const getNumberOfDaysInPreviousMonth: (date: string) => number;
export declare const getPreviousMonth: (date: string) => string;
export declare const getNextMonth: (date: string) => string;
export declare const getTodayBSDate: () => string;
export declare const isGreaterThanOrEqualToMinDate: (date: string, minDate: string) => boolean;
export declare const isLessThanOrEqualToMaxDate: (date: string, maxDate: string) => boolean;