MCPcopy Create free account

hub / github.com/Hexagon/croner / functions

Functions140 in github.com/Hexagon/croner

↓ 1 callersMethodrecurseStep
* One step of recurse(). Returns the level to continue at, or the result. * * @private
src/date.ts:603
↓ 1 callersMethodreplaceAlpha
* Replace alpha names (day/month) with numeric values using a mapping. A name has to stand * alone, or SUN6 would be read as 6 and JANFEB as 12.
src/pattern.ts:726
↓ 1 callersMethodresume
* Resume execution * * @returns Wether resume was successful
src/croner.ts:534
↓ 1 callersFunctionrunOnFakeClock
* Runs a scheduled job on a fake clock, and returns when each run fired
test/interval-dst.test.ts:81
↓ 1 callersFunctionrunOnFakeClock
* Runs a scheduled job on a fake clock, and returns when each run fired
test/dst-croner-rust.test.ts:143
↓ 1 callersFunctionruns
(pattern: string, alternativeWeekdays = false)
test/strict-names.test.ts:55
↓ 1 callersFunctionruns
(pattern: string, n = 2)
test/strict-numbers.test.ts:49
↓ 1 callersMethodsetNthWeekdayOfMonth
* Handle the nth weekday of the month logic using hash sign (e.g. FRI#2 for the second Friday of the month) * * @param index Weekday, example: 5
src/pattern.ts:827
↓ 1 callersMethodthrowAtIllegalCharacters
* After converting JAN-DEC, SUN-SAT only 0-9 * , / - are allowed, throw if anything else pops up * @throws On error
src/pattern.ts:373
↓ 1 callersFunctiontimePointsMatch
* Helper function to check if two TimePoints represent the same local time * * @param tp1 - First TimePoint * @param tp2 - Second TimePoint * @ret
src/helpers/timezone.ts:40
↓ 1 callersFunctiontoWholeSecond
* Runs are on whole seconds, so a time between two seconds counts as the next second
src/options.ts:279
↓ 1 callersFunctionunrefTimer
(timer: NodeJS.Timeout | number)
src/utils.ts:32
↓ 1 callersFunctionutcDate
(year: number, month: number, day: number)
test/early-years.test.ts:5
Method[Symbol.iterator]
* Implements the ECMAScript Iterable protocol, enabling `for...of` and destructuring.
src/croner.ts:1037
Method_startAt
* The startAt and stopAt options, which CronOptionsHandler has made CronDates
src/croner.ts:165
Method_stopAt
()
src/croner.ts:168
Functionconstruct
(target, args, newTarget)
test/dst-overlap-precision.test.ts:95
Functionconstruct
(target, args, newTarget)
test/interval-dst.test.ts:89
Functionconstruct
(target, args, newTarget)
test/dst-croner-rust.test.ts:156
Functionconstruct
(target, args, newTarget)
test/clockstep.test.ts:12
Functionconstruct
(target, args, newTarget)
test/day-offset.test.ts:275
Functionconstruct
(target, args, newTarget)
test/croner.test.ts:1203
Functionconstruct
(target, args, newTarget)
test/iterator.test.ts:268
Methodconstructor
( pattern: string | Date, fnOrOptions1?: CronOptions<T> | CronCallback<T>, fnOrOptions2?: CronOpti
src/croner.ts:215
Methodconstructor
* @param cron - The Cron instance to iterate over * @param startAt - Optional starting date for iteration. Defaults to current time if omitted.
src/croner.ts:978
Methodconstructor
(d?: CronDate<T> | Date | string | null, tz?: string | number)
src/date.ts:108
Methodconstructor
( pattern: string, timezone?: string, options?: { mode?: CronMode; alternativeWeekdays
src/pattern.ts:77
Functionget
(target, property, receiver)
test/dst-overlap-precision.test.ts:98
Functionget
(target, property, receiver)
test/interval-dst.test.ts:92
Functionget
(target, property, receiver)
test/dst-croner-rust.test.ts:159
Functionget
(target, property, receiver)
test/clockstep.test.ts:15
Functionget
(target, property, receiver)
test/day-offset.test.ts:278
Functionget
(target, property, receiver)
test/croner.test.ts:1206
Functionget
(target, property, receiver)
test/iterator.test.ts:271
MethodisAhead
(date: Date)
src/croner.ts:900
MethodisFixed
(part: string, values: number[])
src/pattern.ts:323
Functionrestore
()
test/clockstep.test.ts:37
FunctionsetNow
(time: number)
test/clockstep.test.ts:34
Methodstep
(date: CronDate<T>, hasPrevious: boolean)
src/croner.ts:874
Functionthen
(resolve: () => void, reject: (reason: unknown) => void)
test/async-catch.test.ts:29
← previous101–140 of 140, ranked by callers