charton API / @chart-on/core / index / nextIntervalStart
Function: nextIntervalStart()
nextIntervalStart(
start,interval,zone?):number
Defined in: packages/core/src/data/interval.ts:149
Start of the bar after the one that starts at start. A calendar bar moves on by its months in zone and keeps its wall-clock time of day, so DST and month lengths are respected; a day past the end of a shorter month becomes its last day. A fixed-length bar adds its length.
Parameters
start
number
interval
zone?
Zone = UTC
Returns
number