Skip to main content

Interface: TimeHorizon

Time horizon defining the start and end dates for scheduling. Specifies the date range over which the schedule should be generated. The range is inclusive of start date and exclusive of end date.

Example

// One week schedule starting Monday, March 3, 2025
const horizon: TimeHorizon = {
  start: new Date("2025-03-03"), // Monday
  end: new Date("2025-03-10"), // Following Monday (exclusive)
};

Properties

end

end: Date;

start

start: Date;