Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Hexagon/croner
/ functions
Functions
140 in github.com/Hexagon/croner
⨍
Functions
140
◇
Types & classes
10
↓ 1 callers
Method
recurseStep
* One step of recurse(). Returns the level to continue at, or the result. * * @private
src/date.ts:603
↓ 1 callers
Method
replaceAlpha
* 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 callers
Method
resume
* Resume execution * * @returns Wether resume was successful
src/croner.ts:534
↓ 1 callers
Function
runOnFakeClock
* Runs a scheduled job on a fake clock, and returns when each run fired
test/interval-dst.test.ts:81
↓ 1 callers
Function
runOnFakeClock
* Runs a scheduled job on a fake clock, and returns when each run fired
test/dst-croner-rust.test.ts:143
↓ 1 callers
Function
runs
(pattern: string, alternativeWeekdays = false)
test/strict-names.test.ts:55
↓ 1 callers
Function
runs
(pattern: string, n = 2)
test/strict-numbers.test.ts:49
↓ 1 callers
Method
setNthWeekdayOfMonth
* 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 callers
Method
throwAtIllegalCharacters
* 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 callers
Function
timePointsMatch
* 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 callers
Function
toWholeSecond
* Runs are on whole seconds, so a time between two seconds counts as the next second
src/options.ts:279
↓ 1 callers
Function
unrefTimer
(timer: NodeJS.Timeout | number)
src/utils.ts:32
↓ 1 callers
Function
utcDate
(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
Function
construct
(target, args, newTarget)
test/dst-overlap-precision.test.ts:95
Function
construct
(target, args, newTarget)
test/interval-dst.test.ts:89
Function
construct
(target, args, newTarget)
test/dst-croner-rust.test.ts:156
Function
construct
(target, args, newTarget)
test/clockstep.test.ts:12
Function
construct
(target, args, newTarget)
test/day-offset.test.ts:275
Function
construct
(target, args, newTarget)
test/croner.test.ts:1203
Function
construct
(target, args, newTarget)
test/iterator.test.ts:268
Method
constructor
( pattern: string | Date, fnOrOptions1?: CronOptions<T> | CronCallback<T>, fnOrOptions2?: CronOpti
src/croner.ts:215
Method
constructor
* @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
Method
constructor
(d?: CronDate<T> | Date | string | null, tz?: string | number)
src/date.ts:108
Method
constructor
( pattern: string, timezone?: string, options?: { mode?: CronMode; alternativeWeekdays
src/pattern.ts:77
Function
get
(target, property, receiver)
test/dst-overlap-precision.test.ts:98
Function
get
(target, property, receiver)
test/interval-dst.test.ts:92
Function
get
(target, property, receiver)
test/dst-croner-rust.test.ts:159
Function
get
(target, property, receiver)
test/clockstep.test.ts:15
Function
get
(target, property, receiver)
test/day-offset.test.ts:278
Function
get
(target, property, receiver)
test/croner.test.ts:1206
Function
get
(target, property, receiver)
test/iterator.test.ts:271
Method
isAhead
(date: Date)
src/croner.ts:900
Method
isFixed
(part: string, values: number[])
src/pattern.ts:323
Function
restore
()
test/clockstep.test.ts:37
Function
setNow
(time: number)
test/clockstep.test.ts:34
Method
step
(date: CronDate<T>, hasPrevious: boolean)
src/croner.ts:874
Function
then
(resolve: () => void, reject: (reason: unknown) => void)
test/async-catch.test.ts:29
← previous
101–140 of 140, ranked by callers