The TimeZone string, Calendar string, or ZonedDateTime object
Optionalcal: CalendarLikeThe optional Calendar string if tzOrZdt is a timezone
A tuple of [timeZoneId, calendarId]
Normalizes TimeZone and Calendar inputs into a [timeZoneId, calendarId] tuple.
Accepts either (tz, cal) strings or a single ZonedDateTime-like object.
Supports both spec-final (flat) and V8 harmony (nested) Temporal structures.
The TimeZone string, Calendar string, or ZonedDateTime object
Optionalcal: CalendarLikeThe optional Calendar string if tzOrZdt is a timezone
A tuple of [timeZoneId, calendarId]
Normalizes TimeZone and Calendar inputs into a
[timeZoneId, calendarId]tuple. Accepts either(tz, cal)strings or a single ZonedDateTime-like object. Supports both spec-final (flat) and V8 harmony (nested) Temporal structures.