fitsSchedule
Stentor API Reference / stentor-time/src / fitsSchedule
Function: fitsSchedule()
fitsSchedule(
start,startFormat,duration,durationFormat,timeZone?):boolean
Defined in: packages/stentor-time/src/TimeConditionalCheck.ts:61
Is the current time within the provided schedule.
Parametersβ
startβ
string
Start date string
startFormatβ
string
Format of the start date string
durationβ
number
Duration amount
durationFormatβ
DurationFormat
Format of the duration
timeZone?β
string
Optional time zone
Returnsβ
boolean