to-bengali
Version:
A lightweight npm package to translate numbers and dates to Bengali language.
19 lines (18 loc) • 639 B
TypeScript
export declare class BengaliDate {
private dateTime;
constructor(dateTime?: Date);
get bngDate(): string;
get bngMonthInNumber(): string;
get bngMonth(): string;
get bngFullYear(): string;
get bngYear(): string;
get bngHours(): string;
get bngHoursInTwelveHourFormat(): string;
get bngMinutes(): string;
get bngSeconds(): string;
get bngTimeName(): "ভোর" | "সকাল" | "দুপুর" | "বিকাল" | "সন্ধ্যা" | "রাত";
get bngDay(): string;
get bngFullDay(): string;
get engTimeName(): "PM" | "AM";
format(pattern?: string): string;
}