Skip to main content

Class: Cron

time-utilities/src.Cron

Constructors

constructor

new Cron(cron)

Parameters

NameTypeDescription
cronstring

Defined in

node_modules/@sapphire/cron/dist/index.d.ts:59

Properties

cron

cron: string

Defined in

node_modules/@sapphire/cron/dist/index.d.ts:49


days

days: number[]

Defined in

node_modules/@sapphire/cron/dist/index.d.ts:53


dows

dows: number[]

Defined in

node_modules/@sapphire/cron/dist/index.d.ts:55


hours

hours: number[]

Defined in

node_modules/@sapphire/cron/dist/index.d.ts:52


minutes

minutes: number[]

Defined in

node_modules/@sapphire/cron/dist/index.d.ts:51


months

months: number[]

Defined in

node_modules/@sapphire/cron/dist/index.d.ts:54


normalized

normalized: string

Defined in

node_modules/@sapphire/cron/dist/index.d.ts:50


normalize

Static Private normalize: any

Defined in

node_modules/@sapphire/cron/dist/index.d.ts:70


parsePart

Static Private parsePart: any

Defined in

node_modules/@sapphire/cron/dist/index.d.ts:81


parseString

Static Private parseString: any

Defined in

node_modules/@sapphire/cron/dist/index.d.ts:75

Methods

next

next(outset?, origin?): Date

Parameters

NameTypeDescription
outset?Date
origin?boolean

Returns

Date

Defined in

node_modules/@sapphire/cron/dist/index.d.ts:65