MCPcopy Create free account

hub / github.com/harrisiirak/cron-parser / functions

Functions184 in github.com/harrisiirak/cron-parser

↓ 1 callersMethodgetUTCSeconds
* Returns the UTC seconds. * @returns {number}
src/CronDate.ts:406
↓ 1 callersMethodisLastDayOfMonth
* Returns true if the day is the last day of the month. * @returns {boolean}
src/CronDate.ts:510
↓ 1 callersMethodmin
()
src/fields/CronHour.ts:14
↓ 1 callersFunctionmulberry32
* Initialize a new PRNG using a given seed * @param {number} seed The seed used to initialize the PRNG * @returns {PRNG} A random number generator
src/utils/random.ts:25
↓ 1 callersFunctionprintStats
( oldStats: BenchmarkStats, newStats: BenchmarkStats, expression: string, outputFile: string, iterat
benchmarks/runner.ts:79
↓ 1 callersFunctionprintSummary
()
benchmarks/runner.ts:183
↓ 1 callersFunctionrunBenchmarks
()
benchmarks/index.ts:6
↓ 1 callersFunctionrunPatternBenchmark
()
benchmarks/pattern.ts:5
↓ 1 callersMethodsetDate
* Sets the day. * @param d
src/CronDate.ts:430
↓ 1 callersMethodsetDay
* Sets the day of the week. * @param d
src/CronDate.ts:446
↓ 1 callersMethodsetEndOfDay
* Sets the time to the end of the day (23:59:59.999) in the current timezone.
src/CronDate.ts:341
↓ 1 callersMethodsetFullYear
* Sets the year. * @param y
src/CronDate.ts:438
↓ 1 callersMethodsetMilliseconds
* Sets the milliseconds. * @param s
src/CronDate.ts:486
↓ 1 callersMethodsetMonth
* Sets the month. * @param m
src/CronDate.ts:454
↓ 1 callersMethodsetStartOfDay
* Sets the time to the start of the day (00:00:00.000) in the current timezone.
src/CronDate.ts:334
↓ 1 callersMethodsubtractMonth
* Subtracts one month from the current CronDate. * If the month is 1, it will subtract one year instead.
src/CronDate.ts:160
↓ 1 callersMethodtoJSON
* Returns the date as a JSON string. * @returns {string | null}
src/CronDate.ts:422
↓ 1 callersMethodtoString
* Returns the string representation of the cron expression. * @returns {CronDate} - The next schedule date.
src/CronExpression.ts:365
↓ 1 callersFunctionxfnv1a
* Computes a numeric hash from a given string * @param {string} str A value to hash * @returns {number} A numeric hash computed from the given value
src/utils/random.ts:11
Function#isWildcardValue
* Determines if the field is a wildcard based on the values. * When options.rawValue is not empty, it checks if the raw value is a wildcard, otherw
src/fields/CronField.ts:256
Method[Symbol.iterator]
* Returns an iterator for iterating through future CronDate instances * * @name Symbol.iterator * @memberof CronExpression * @returns {Ite
src/CronExpression.ts:575
Functionchars
()
src/fields/CronField.ts:60
Methodchars
()
src/fields/CronDayOfMonth.ts:22
Methodchars
()
src/fields/CronDayOfWeek.ts:22
Methodchars
()
src/fields/CronHour.ts:22
Methodchars
()
src/fields/CronMinute.ts:22
Methodchars
()
src/fields/CronSecond.ts:20
Methodchars
()
src/fields/CronMonth.ts:23
Functionconstraints
* Returns the constraints for this field.
src/fields/CronField.ts:75
Functionconstructor
* CronField constructor. Initializes the field with the provided values. * @param {number[] | string[]} values - Values for this field * @param
src/fields/CronField.ts:86
Methodconstructor
* Creates a new CronExpression instance. * * @param {CronFieldCollection} fields - Cron fields. * @param {CronExpressionOptions} options - Pa
src/CronExpression.ts:49
Methodconstructor
* CronFieldCollection constructor. Initializes the cron fields with the provided values. * @param {CronFields} param0 - The cron fields values *
src/CronFieldCollection.ts:141
Methodconstructor
* Constructs a new CronDate instance. * @param {CronDate | Date | number | string} [timestamp] - The timestamp to initialize the CronDate with.
src/CronDate.ts:33
Methodconstructor
* CronDayOfMonth constructor. Initializes the "day of the month" field with the provided values. * @param {DayOfMonthRange[]} values - Values for t
src/fields/CronDayOfMonth.ts:34
Methodconstructor
* CronDayOfTheWeek constructor. Initializes the "day of the week" field with the provided values. * @param {DayOfWeekRange[]} values - Values for t
src/fields/CronDayOfWeek.ts:35
Methodconstructor
* CronHour constructor. Initializes the "hour" field with the provided values. * @param {HourRange[]} values - Values for the "hour" field * @pa
src/fields/CronHour.ts:31
Methodconstructor
* CronSecond constructor. Initializes the "second" field with the provided values. * @param {SixtyRange[]} values - Values for the "second" field
src/fields/CronMinute.ts:31
Methodconstructor
* CronSecond constructor. Initializes the "second" field with the provided values. * @param {SixtyRange[]} values - Values for the "second" field
src/fields/CronSecond.ts:29
Methodconstructor
* CronDayOfMonth constructor. Initializes the "day of the month" field with the provided values. * @param {MonthRange[]} values - Values for the "d
src/fields/CronMonth.ts:36
MethoddayOfMonth
* Returns the day of the month field. * @returns {CronDayOfMonth}
src/CronFieldCollection.ts:206
MethoddayOfWeek
* Returns the day of the week field. * @returns {CronDayOfWeek}
src/CronFieldCollection.ts:222
MethoddaysInMonth
()
src/fields/CronMonth.ts:27
MethoddstEnd
* Returns daylight savings end time. * @returns {number | null}
src/CronDate.ts:95
MethoddstStart
* Returns daylight savings start time. * @returns {number | null}
src/CronDate.ts:79
Methodfields
* Getter for the cron fields. * * @returns {CronFieldCollection} Cron fields.
src/CronExpression.ts:74
FunctionfindNearestValue
* Instance helper that operates on this field's numeric `values`. * * @param currentValue - Current value to compare against * @param reverse
src/fields/CronField.ts:206
FunctionfindNearestValueInList
* Find the next (or previous when `reverse` is true) numeric value in a sorted list. * Returns null if there's no value strictly after/before the c
src/fields/CronField.ts:186
MethodhandleResult
(result: number | string | (number | string)[], constraints: CronConstraints)
src/CronExpressionParser.ts:299
FunctionhasLastChar
* Indicates whether this field has a "last" character. * @returns {boolean}
src/fields/CronField.ts:136
FunctionhasQuestionMarkChar
* Indicates whether this field has a "question mark" character. * @returns {boolean}
src/fields/CronField.ts:144
Methodhour
* Returns the hour field. * @returns {CronHour}
src/CronFieldCollection.ts:198
FunctionisWildcard
* Indicates whether this field is a wildcard. * @returns {boolean}
src/fields/CronField.ts:152
MethodmapFn
(_: number, index: number)
src/CronFieldCollection.ts:357
Functionmax
()
src/fields/CronField.ts:52
Methodmax
()
src/fields/CronDayOfMonth.ts:18
Methodmax
()
src/fields/CronDayOfWeek.ts:18
Methodmax
()
src/fields/CronMinute.ts:18
Methodmax
()
src/fields/CronSecond.ts:17
Methodmax
()
src/fields/CronMonth.ts:19
Functionmin
()
src/fields/CronField.ts:44
Methodmin
()
src/fields/CronDayOfMonth.ts:14
Methodmin
()
src/fields/CronDayOfWeek.ts:14
Methodmin
()
src/fields/CronMinute.ts:14
Methodmin
()
src/fields/CronSecond.ts:14
Methodmin
()
src/fields/CronMonth.ts:15
Methodminute
* Returns the minute field. * @returns {CronMinute}
src/CronFieldCollection.ts:190
Methodmonth
* Returns the month field. * @returns {CronMonth}
src/CronFieldCollection.ts:214
MethodnthDay
* Returns the nth day of the week if specified in the cron expression. * This is used for the '#' character in the cron expression. * @returns {
src/fields/CronDayOfWeek.ts:53
FunctionrangeTest
(value: number | string)
src/fields/CronField.ts:234
Methodsecond
* Returns the second field. * @returns {CronSecond}
src/CronFieldCollection.ts:182
Functionserialize
* Serializes the field to an object. * @returns {SerializedCronField}
src/fields/CronField.ts:218
Functionsorter
* Helper function to sort values in ascending order. * @param {number | string} a - First value to compare * @param {number | string} b - Second
src/fields/CronField.ts:170
Methodstringify
* Returns a string representation of the cron field values. * @param {boolean} includeSeconds - Whether to include seconds in the output * @retu
src/CronFieldCollection.ts:419
FunctionvalidChars
* Returns the regular expression used to validate this field.
src/fields/CronField.ts:68
MethodvalidChars
()
src/fields/CronDayOfMonth.ts:25
MethodvalidChars
()
src/fields/CronDayOfWeek.ts:26
Functionvalidate
* Validates the field values against the allowed range and special characters. * @throws {Error} if validation fails
src/fields/CronField.ts:229
Functionvalues
* Returns an array of allowed values for this field. * @returns {CronFieldType}
src/fields/CronField.ts:160
Methodvalues
* Returns an array of allowed values for the "day of the month" field. * @returns {DayOfMonthRange[]}
src/fields/CronDayOfMonth.ts:43
Methodvalues
* Returns an array of allowed values for the "day of the week" field. * @returns {DayOfWeekRange[]}
src/fields/CronDayOfWeek.ts:44
Methodvalues
* Returns an array of allowed values for the "hour" field. * @returns {HourRange[]}
src/fields/CronHour.ts:40
Methodvalues
* Returns an array of allowed values for the "second" field. * @returns {SixtyRange[]}
src/fields/CronMinute.ts:40
Methodvalues
* Returns an array of allowed values for the "second" field. * @returns {SixtyRange[]}
src/fields/CronSecond.ts:38
Methodvalues
* Returns an array of allowed values for the "day of the month" field. * @returns {MonthRange[]}
src/fields/CronMonth.ts:45
← previous101–184 of 184, ranked by callers