liudong
2023-05-29 340f156319b863525e50e900c58e59b86ecb3d5e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import { WarningType, Warning } from './parser';
import { CronosTimezone } from './date';
import { DateSequence } from './scheduler';
export declare class CronosExpression implements DateSequence {
    readonly cronString: string;
    private readonly seconds;
    private readonly minutes;
    private readonly hours;
    private readonly days;
    private readonly months;
    private readonly years;
    private timezone?;
    private skipRepeatedHour;
    private missingHour;
    private _warnings;
    private constructor();
    static parse(cronstring: string, options?: {
        timezone?: string | number | CronosTimezone;
        skipRepeatedHour?: boolean;
        missingHour?: CronosExpression['missingHour'];
        strict?: boolean | {
            [key in WarningType]?: boolean;
        };
    }): CronosExpression;
    get warnings(): Warning[];
    toString(): string;
    nextDate(afterDate?: Date): Date | null;
    private _next;
    nextNDates(afterDate?: Date, n?: number): Date[];
    private _nextYear;
    private _nextMonth;
    private _nextDay;
    private _nextHour;
    private _nextMinute;
    private _nextSecond;
}