zoned/calculate
addZoned: Add a temporal amount to a zoned ISO 8601 datetime string and return a zoned ISO 8601 string.addZonedBusinessDays: Return a zoned ISO 8601 datetime string withamountbusiness days added tovalue.clampZoned: Restrictvalueto the range [min,max] in zoned datetime space.closestZonedTo: Return the candidate zoned datetime nearest totargetby temporal distance.cycleZoned: Return a ZonedDateTime ISO string withfieldcycled byamount, wrapping at that field’s own min/max instead of carrying into the next larger field.diffZoned: Return the difference between two zoned datetimes measured in the given date-time unit.diffZonedAsDuration: Return the difference between two zoned datetimes as an ISO 8601 duration string, bridging to thedurationnamespace (seeparseDuration,normalizeDuration).endOfQuarterForZoned: Return the end of the quarter for a given zoned ISO datetime.endOfZoned: Return the end of the specified date-timeunitfor a given zoned ISO 8601 datetime string.getHoursInZonedDay: Return the number of hours in the calendar day a zoned datetime falls on.getLocaleZonedDayOfWeek: Return the locale-relative day-of-week index for a zonedvalue.getLocaleZonedEndOfWeek: Return the end of the week containingvalue, usinglocale’s first day of week (e.g. fr-FR: week ends Sunday, ja-JP: week ends Saturday).getLocaleZonedStartOfWeek: Return the start of the week containingvalue, usinglocale’s first day of week (e.g. fr-FR: Monday, hi-IN: Sunday).getQuarterForZoned: Return the quarter of the year (1-4) for a given zoned ISO datetime.maxZoned: Return the latest (maximum) of the given ZonedDateTime values.minZoned: Return the earliest (minimum) of the given ZonedDateTime values.roundZoned: Round an ISO 8601 zoned datetime string to the specified unit.setZoned: Return a zoned ISO 8601 datetime string with the givenfieldsset onvalue.sortZoned: Sort an array of ZonedDateTime values in ascending or descending order.startOfQuarterForZoned: Return the start of the quarter for a given zoned ISO datetime.startOfZoned: Return the start of the specified date-timeunitfor a given zoned ISO 8601 datetime string.subtractZoned: Subtract a temporal amount from a zoned ISO 8601 datetime string and return a zoned ISO 8601 string.subtractZonedBusinessDays: Return a zoned ISO 8601 datetime string withamountbusiness days subtracted fromvalue.
Accessibility
© 2026 NorthGuild · Licences
Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.