Skip to content

charton API


charton API / @chart-on/core / index / seasonalSlots

Function: seasonalSlots() ​

seasonalSlots(window, period): number

Defined in: packages/core/src/seasonality/math.ts:119

Calendar days in the window on the leap-year calendar (366 for a year, 29 for February).

Parameters ​

window ​

SeasonalWindow

period ​

number

Returns ​

number