ReadonlycalendarA frozen copy of the windows and exceptions, detached from the input.
ReadonlytimezoneThe validated IANA zone.
Lay the chart's time axis past the last bar out in these hours, and
repaint, so a drawing already placed there moves to the time it now
means: chart.setSessionCalendar(this), after checking the chart is
alive. chart.dataLayer.setSessionCalendar sets the same without asking
for a frame, for a host about to load bars or move the view anyway.
The market status at an instant: pass Date.now() / 1000 for now.
The part of the trading day an instant falls in.
The phases from one instant to another, as consecutive spans clipped to the range, which may be at most 400 days long.
The window active at an instant. Closed dates and breaks return null, never inferred hours.
The window active at an instant, or else the next one to open, looking at most about a year ahead. Null when nothing opens in that time.
Validated, detached trading hours: the calendar an Instrument carries, without the price and quantity rules. Apply one to a chart so times past the last bar follow the venue's sessions, and read it with the same
sessionAtandsessionFrom.