MCPcopy Create free account

hub / github.com/bradymholt/cRonstrue / functions

Functions2,283 in github.com/bradymholt/cRonstrue

↓ 11 callersMethodformat
* Takes a string with '%s' placeholders and replaces them with provided values. * Works like sprintf in C or string.Format in C#. * @static *
src/stringUtilities.ts:10
↓ 10 callersFunctiongetPhraseByNumber
(str: string | undefined, words: Array<string>)
src/i18n/locales/ru.ts:5
↓ 10 callersMethodtoString
* Converts a cron expression into a description a human can read * @param {string} expression - The cron expression * @param {Options} [options]
src/expressionDescriptor.ts:37
↓ 9 callersFunctionisOne
(s?: string)
src/i18n/locales/en.ts:6
↓ 8 callersMethodgetSegmentDescription
(expression: string, describers: SegmentDescribers)
src/expressionDescriptor.ts:587
↓ 7 callersFunctiongetPhraseByNumber
(str: string | undefined, words: [string, string])
src/i18n/locales/ro.ts:7
↓ 6 callersFunctionassertInRange
(parse: string, min: number, max: number, message: string)
src/rangeValidator.ts:20
↓ 6 callersFunctiongetPhraseByDayOfWeek
(str: string | undefined, words: Array<string>)
src/i18n/locales/ru.ts:11
↓ 6 callersFunctiongetPhraseByDayOfWeek
(str: string | undefined, words: string[])
src/i18n/locales/bg.ts:9
↓ 6 callersMethodremoveLeadingComma
(description: string)
src/expressionDescriptor.ts:470
↓ 4 callersMethodcommaX0ThroughX1
(s?: string)
src/i18n/locale.ts:36
↓ 4 callersFunctiongetNumberEnding
(str: string | undefined, gender: "м" | "ж" | "ср")
src/i18n/locales/bg.ts:15
↓ 4 callersFunctiongetPhraseByPlural
(str: string | undefined, words: string[])
src/i18n/locales/bg.ts:5
↓ 4 callersMethodspaceAnd
()
src/i18n/locale.ts:21
↓ 3 callersFunctionassert
(value: boolean, message: string)
src/rangeValidator.ts:1
↓ 3 callersMethodcommaEveryDay
()
src/i18n/locale.ts:34
↓ 3 callersMethodeveryHour
()
src/i18n/locale.ts:17
↓ 3 callersFunctionordinalSuffix
(value: string | undefined)
src/i18n/locales/az.ts:37
↓ 3 callersMethodparse
* Parses and normalizes a cron expression into an array of strings * @returns {string[]}
src/cronParser.ts:42
↓ 2 callersMethodcommaAndX0ThroughX1
(s?: string)
src/i18n/locale.ts:37
↓ 2 callersMethodcommaOnlyInX0
(s?: string)
src/i18n/locale.ts:52
↓ 2 callersMethodeveryMinute
()
src/i18n/locale.ts:16
↓ 2 callersMethodformatTime
(hourExpression: string, minuteExpression: string, secondExpression: string)
src/expressionDescriptor.ts:746
↓ 2 callersMethodgetDayOfWeekDescription
( dayOfWeekExpression: string = this.expressionParts[5], isFirstClause: boolean = true, )
src/expressionDescriptor.ts:289
↓ 2 callersMethodinitialize
(localesLoader: LocaleLoader, defaultLocale = "en")
src/expressionDescriptor.ts:64
↓ 2 callersFunctionusage
()
bin/cli.js:5
↓ 1 callersMethodam
()
src/i18n/locale.ts:13
↓ 1 callersMethodanErrorOccuredWhenGeneratingTheExpressionD
()
src/i18n/locale.ts:15
↓ 1 callersMethodat
()
src/i18n/locale.ts:20
↓ 1 callersMethodatReboot
()
src/i18n/locale.ts:81
↓ 1 callersMethodatSpace
()
src/i18n/locale.ts:18
↓ 1 callersMethodatX0
()
src/i18n/locale.ts:33
↓ 1 callersMethodatX0MinutesPastTheHour
(s?: string)
src/i18n/locale.ts:29
↓ 1 callersMethodatX0MinutesPastTheHourGt20
()
src/i18n/locale.ts:30
↓ 1 callersMethodatX0SecondsPastTheMinute
(s?: string)
src/i18n/locale.ts:25
↓ 1 callersMethodatX0SecondsPastTheMinuteGt20
()
src/i18n/locale.ts:26
↓ 1 callersMethodbetweenX0AndX1
()
src/i18n/locale.ts:32
↓ 1 callersMethodcommaAndOnX0
()
src/i18n/locale.ts:50
↓ 1 callersMethodcommaBetweenDayX0AndX1OfTheMonth
(s?: string)
src/i18n/locale.ts:64
↓ 1 callersMethodcommaDaysAfterTheX0OfTheMonth
(s?: string)
src/i18n/locale.ts:62
↓ 1 callersMethodcommaDaysBeforeTheLastDayOfTheMonth
(s?: string)
src/i18n/locale.ts:57
↓ 1 callersMethodcommaDaysBeforeTheX0OfTheMonth
(s?: string)
src/i18n/locale.ts:61
↓ 1 callersMethodcommaEveryX0Days
(s?: string)
src/i18n/locale.ts:63
↓ 1 callersMethodcommaEveryX0DaysOfTheWeek
(s?: string)
src/i18n/locale.ts:35
↓ 1 callersMethodcommaEveryX0Months
(s?: string)
src/i18n/locale.ts:51
↓ 1 callersMethodcommaEveryX0Years
(s?: string)
src/i18n/locale.ts:66
↓ 1 callersMethodcommaMonthX0ThroughMonthX1
()
src/i18n/locale.ts:38
↓ 1 callersMethodcommaOnDayX0OfTheMonth
(s?: string)
src/i18n/locale.ts:65
↓ 1 callersMethodcommaOnThe
(s?: string, day?: string)
src/i18n/locale.ts:45
↓ 1 callersMethodcommaOnTheLastDayOfTheMonth
()
src/i18n/locale.ts:55
↓ 1 callersMethodcommaOnTheLastWeekdayOfTheMonth
()
src/i18n/locale.ts:56
↓ 1 callersMethodcommaOnTheLastX0OfTheMonth
(s?: string)
src/i18n/locale.ts:48
↓ 1 callersMethodcommaOnTheX0OfTheMonth
()
src/i18n/locale.ts:60
↓ 1 callersMethodcommaOnlyInMonthX0
()
src/i18n/locale.ts:53
↓ 1 callersMethodcommaOnlyInYearX0
()
src/i18n/locale.ts:54
↓ 1 callersMethodcommaOnlyOnX0
(s?: string)
src/i18n/locale.ts:49
↓ 1 callersMethodcommaStartingX0
()
src/i18n/locale.ts:67
↓ 1 callersMethodcommaYearX0ThroughYearX1
()
src/i18n/locale.ts:39
↓ 1 callersMethodconciseVerbosityReplacements
* When `verbose` option is set to `false`, use this array to do any replacements to make the description more concise * For example: * return {
src/i18n/locale.ts:10
↓ 1 callersMethodcontainsAny
* * Given a string and an array of search strings, determines if the string * contains any value from the array. * @static * @param {strin
src/stringUtilities.ts:25
↓ 1 callersMethoddayOfMonthRange
(parse: string)
src/rangeValidator.ts:48
↓ 1 callersMethoddayOfWeekRange
(parse: string, dayOfWeekStartIndexZero: boolean)
src/rangeValidator.ts:61
↓ 1 callersMethoddayX0
()
src/i18n/locale.ts:68
↓ 1 callersMethoddaysOfTheWeek
()
src/i18n/locale.ts:69
↓ 1 callersMethoddaysOfTheWeek
()
src/i18n/locales/az.ts:203
↓ 1 callersMethoddaysOfTheWeekInCase
If multiple forms are needed in "%s through %s" * @param f 1 for "from", 2 for "through" * @return {string[]} days of week
src/i18n/locale.ts:74
↓ 1 callersMethodeveryMinuteBetweenX0AndX1
()
src/i18n/locale.ts:19
↓ 1 callersMethodeverySecond
()
src/i18n/locale.ts:22
↓ 1 callersMethodeveryX0Hours
(s?: string)
src/i18n/locale.ts:31
↓ 1 callersMethodeveryX0Minutes
(s?: string)
src/i18n/locale.ts:27
↓ 1 callersMethodeveryX0Seconds
(s?: string)
src/i18n/locale.ts:23
↓ 1 callersMethodextractParts
(expression: string)
src/cronParser.ts:104
↓ 1 callersMethodfirstWeekday
()
src/i18n/locale.ts:58
↓ 1 callersMethodgenerateRangeSegmentDescription
(rangeExpression: string, describers: SegmentDescribers)
src/expressionDescriptor.ts:737
↓ 1 callersMethodgetAndPrefix
()
src/expressionDescriptor.ts:458
↓ 1 callersMethodgetDayOfMonthDescription
(dayOfMonthExpression: string = this.expressionParts[3])
src/expressionDescriptor.ts:478
↓ 1 callersFunctiongetDaysOfTheWeek
(locale)
scripts/convert-ced-locale.js:95
↓ 1 callersMethodgetFullDescription
()
src/expressionDescriptor.ts:97
↓ 1 callersMethodgetHoursDescription
()
src/expressionDescriptor.ts:254
↓ 1 callersMethodgetMinutesDescription
()
src/expressionDescriptor.ts:234
↓ 1 callersMethodgetMonthDescription
()
src/expressionDescriptor.ts:440
↓ 1 callersFunctiongetMonthsOfTheYear
(locale)
scripts/convert-ced-locale.js:108
↓ 1 callersMethodgetPeriod
(hour: number)
src/expressionDescriptor.ts:795
↓ 1 callersMethodgetSecondsDescription
()
src/expressionDescriptor.ts:218
↓ 1 callersMethodgetTimeOfDayDescription
()
src/expressionDescriptor.ts:134
↓ 1 callersMethodgetWrappingIncrementDescription
* A step which doesn't divide the field evenly (e.g. minute "*\/50") matches the values 0 and 50, * so the gaps alternate between 50 and 10 minutes
src/expressionDescriptor.ts:703
↓ 1 callersMethodgetYearDescription
()
src/expressionDescriptor.ts:577
↓ 1 callersMethodhasLeadingComma
(description: string)
src/expressionDescriptor.ts:474
↓ 1 callersMethodhourRange
(parse: string)
src/rangeValidator.ts:44
↓ 1 callersMethodlastDay
()
src/i18n/locale.ts:47
↓ 1 callersMethodload
(availableLocales: { [name: string]: Locale })
src/i18n/localeLoader.ts:4
↓ 1 callersMethodminuteRange
(parse: string)
src/rangeValidator.ts:40
↓ 1 callersMethodminutesX0ThroughX1PastTheHour
()
src/i18n/locale.ts:28
↓ 1 callersMethodmonthRange
(parse: string, monthStartIndexZero: boolean)
src/rangeValidator.ts:52
↓ 1 callersMethodmonthsOfTheYear
()
src/i18n/locale.ts:75
↓ 1 callersMethodmonthsOfTheYear
()
src/i18n/locales/ru.ts:175
↓ 1 callersMethodmonthsOfTheYearInCase
If multiple forms are needed in "%s through %s" * @param f 1 for "from", 2 for "through" * @return {string[]} months of year
src/i18n/locale.ts:80
↓ 1 callersMethodnormalize
(expressionParts: string[])
src/cronParser.ts:166
↓ 1 callersMethodonTheHour
()
src/i18n/locale.ts:82
↓ 1 callersMethodparseSpecial
(expression: string)
src/cronParser.ts:85
next →1–100 of 2,283, ranked by callers