-
Notifications
You must be signed in to change notification settings - Fork 0
CalendarEngine
dayjs-hijri-plus / CalendarEngine
Defined in: node_modules/.pnpm/hijri-core@1.0.0/node_modules/hijri-core/dist/index.d.mts:13
Re-exported CalendarEngine interface from hijri-core.
Use this type to implement custom calendar engines for registerCalendar.
readonlyid:string
Defined in: node_modules/.pnpm/hijri-core@1.0.0/node_modules/hijri-core/dist/index.d.mts:14
daysInMonth(
hy,hm):number
Defined in: node_modules/.pnpm/hijri-core@1.0.0/node_modules/hijri-core/dist/index.d.mts:19
number
number
number
isValid(
hy,hm,hd):boolean
Defined in: node_modules/.pnpm/hijri-core@1.0.0/node_modules/hijri-core/dist/index.d.mts:18
number
number
number
boolean
toGregorian(
hy,hm,hd):Date|null
Defined in: node_modules/.pnpm/hijri-core@1.0.0/node_modules/hijri-core/dist/index.d.mts:17
Returns null for invalid or out-of-range input. Never throws.
number
number
number
Date | null
toHijri(
date):HijriDate|null
Defined in: node_modules/.pnpm/hijri-core@1.0.0/node_modules/hijri-core/dist/index.d.mts:15
Date
HijriDate | null
dayjs-hijri-plus · MIT License · npm · Issues
Guides
Examples
Reference
API Pages
- plugin (default)
- toHijri
- isValidHijri
- hijriYear
- hijriMonth
- hijriDay
- formatHijri
- fromHijri
- registerCalendar
Community