UNPKG

jtc-utils

Version:
23 lines 869 B
export declare class JapaneseEra { readonly name: string; readonly localeNames: Record<string, Record<string, string>>; readonly start: Date; readonly end?: Date | undefined; static MEIJI: JapaneseEra; static TAISHO: JapaneseEra; static SHOWA: JapaneseEra; static HEISEI: JapaneseEra; static REIWA: JapaneseEra; static values(): JapaneseEra[]; static of(date: Date): JapaneseEra | undefined; static from(name: string, options?: { locale?: string; }): JapaneseEra | undefined; constructor(name: string, localeNames: Record<string, Record<string, string>>, start: Date, end?: Date | undefined); includes(date: Date): boolean; toLocaleString(locale?: string, options?: { style?: "long" | "short" | "narrow"; }): string; toString(): string; } //# sourceMappingURL=JapaneseEra.d.mts.map