Conversions
ISO Week Date
temporalInstantFromISOWeek
temporalInstantFromISOWeek(
- year: number,
- week: number,
- day: number = MIN_DAY,
- weekStartDay: ISOWeekDays = ISOWeekDays.Monday,
- reference?: Reference
): Temporal.Instant
temporalInstantFromISOWeekString
temporalInstantFromISOWeekString(
- isoWeekDate: string,
- reference?: Reference
): Temporal.Instant
temporalToISOPlainDateWeek
temporalToISOPlainDateWeek(
- date: Temporal.ZonedDateTime | Temporal.PlainDate | Temporal.PlainDateTime,
- weekStartDay: ISOWeekDays = ISOWeekDays.Monday
): PlainWeekDate
weeksInISOYear
weeksInISOYear(
- year: number,
- weekStartDay: ISOWeekDays = ISOWeekDays.Monday
): number
Hijri Week Date
temporalInstantFromHWCDate
temporalInstantFromHWCDate(
- yearOfWeek: number,
- weekOfYear: number,
- dayOfWeek: number = MIN_DAY,
- calendar: SupportedHijriCalendars = 'islamic-umalqura',
- weekStartDay: HWCWeekDays = HWCWeekDays.Saturday,
- reference?: Reference
): Temporal.Instant
temporalInstantFromHWCWeekString
temporalInstantFromHWCWeekString(
- isoWeekDate: string,
- reference?: Reference
): Temporal.Instant
temporalToHWCPlainDateWeek
temporalToHWCPlainDateWeek(
- date: Temporal.ZonedDateTime | Temporal.PlainDate | Temporal.PlainDateTime,
- weekStartDay: HWCWeekDays = HWCWeekDays.Saturday
): PlainWeekDate
weeksInHijriYear
weeksInHijriYear(
- year: number,
- calendar: SupportedHijriCalendars = 'islamic-umalqura',
- weekStartDay: HWCWeekDays = HWCWeekDays.Saturday
): number