Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Schedule

Hierarchy

  • Schedule

Index

Constructors

constructor

  • new Schedule(parsed_fields: ParsedFields, options?: ScheduleOptions & InnerOptions): Schedule

Properties

Private Readonly _is_day_of_month_wildcard_match

_is_day_of_month_wildcard_match: boolean = false

Private Readonly _is_day_of_week_wildcard_match

_is_day_of_week_wildcard_match: boolean = false

Private _month

_month: number

Private _now

_now: Dayjs

Private _schedule

_schedule: CronMonth

Private Readonly _tz

_tz: string

Private Readonly _utc

_utc: boolean

Private _year

_year: number

Static Readonly default_fields

default_fields: string[] = ...

Static Readonly fieldnames

fieldnames: FieldType[] = ...

Static Readonly predefined

predefined: {} = ...

Type declaration

  • [prop: string]: string

Methods

Private _change_next_month

  • _change_next_month(): void

Private _deal_special_day_of_month

  • _deal_special_day_of_month(schedule: Set<number>, date: Dayjs): void

Private _deal_special_day_of_week

  • _deal_special_day_of_week(schedule: Set<number>, date: Dayjs): void

Private _make_schedule

  • _make_schedule(): CronMonth

next

  • next(): Dayjs

Static parse

  • parse(expression: string, options?: ScheduleOptions & InnerOptions): Schedule

Generated using TypeDoc