calendar
businessDaysBetween: Count the working days between two local dates, excludingstartand includingend.mergeCalendars: Compose several jurisdictions’ calendars into one whose working days are those they all share.nextBusinessDay: Return the first working day strictly aftervalue.previousBusinessDay: Return the last working day strictly beforevalue.rollDate: Move a local date onto a working day according toconvention.
bucketRange: Return the start instant of everyunitbucket the half-open range[start, end)touches, bucketed intimeZone.floorToZone: Floor an instant to the start of theunitcontaining it intimeZone, and return the instant of that boundary.getFiscalPeriod: Return the fiscal year, period and weekvaluefalls in, for a 52/53-week retail calendar.getIsoWeekDate: Return the ISO 8601 week date — week-numbering year, week and weekday — forvalue.getOrdinalDate: Return the ISO 8601 ordinal date — calendar year and day of year — forvalue.getQuarter: Return the quartervaluefalls in, as a year and a quarter number.
addOperatingTime: Return the instant at whichdurationof open time has elapsed sincestart: the deadline of a service level measured in working hours.isOpenAt: Return true whenscheduleis open at the instantisoString.nextCloseAt: Return the first instant at or afterisoStringthatscheduleis closed, as a UTC instant.nextOpenAt: Return the first instant at or afterisoStringthatscheduleis open, as a UTC instant.operatingIntervals: Return the instants anOperatingScheduleis open insiderange: its weekly windows with holidays closed and overrides applied, resolved in the schedule’s zone.operatingTimeBetween: Return how much open timeschedulehas between two instants, as an exact ISO duration.recurringWindows: Return the instants a weekly pattern of local windows is open insiderange, read intimeZone: the primitive under operating hours, curfews and recurring crew windows.
buildBusinessCalendar: Expand holiday rules into aBusinessCalendarfor a range of years.easterSunday: Easter Sunday of a year as an ISO date, by the Gregorian computus unless the Julian one is asked for.holidayDates: Every date a holiday rule produces in an ISO year, as sorted ISO PlainDate strings.nthWeekdayOfMonth: Then-thweekdayof a month, counted from the start (1to5) or from the end (-1to-5;"last"is-1), as RFC 5545 §3.3.10 counts aBYDAYordinal in a monthly rule.observedDate: Where a holiday is observed under a policy.
isValidBusinessCalendar: Return true whencalendaris aBusinessCalendarthe business-day functions accept.isValidFiscalCalendar: Return true whencalendaris aFiscalCalendarthatgetFiscalPeriodaccepts.isValidFiscalExtraWeek: Return true whenvalueis a valid FiscalExtraWeek: the period a 53rd week is added to.isValidFiscalPattern: Return true whenpatternis a valid FiscalPattern.isValidFiscalYearLabel: Return true whenvalueis a valid FiscalYearLabel: the rule that picks the calendar year naming a fiscal year.isValidHolidayRule: Return true whenruleis aHolidayRulethatholidayDatesandbuildBusinessCalendaraccept.isValidOperatingSchedule: Return true whenscheduleis anOperatingSchedulethe operating-hours functions accept.isValidRollConvention: Return true whenconventionis aRollConventionthatrollDateimplements.isValidZoneBucketUnit: Return true whenunitis a valid ZoneBucketUnit.
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.