Skip to content

calendar/hours

  • addOperatingTime: Return the instant at which duration of open time has elapsed since start: the deadline of a service level measured in working hours.
  • isOpenAt: Return true when schedule is open at the instant isoString.
  • nextCloseAt: Return the first instant at or after isoString that schedule is closed, as a UTC instant.
  • nextOpenAt: Return the first instant at or after isoString that schedule is open, as a UTC instant.
  • operatingIntervals: Return the instants an OperatingSchedule is open inside range: its weekly windows with holidays closed and overrides applied, resolved in the schedule’s zone.
  • operatingTimeBetween: Return how much open time schedule has between two instants, as an exact ISO duration.
  • recurringWindows: Return the instants a weekly pattern of local windows is open inside range, read in timeZone: the primitive under operating hours, curfews and recurring crew windows.