Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RRuleSet

class RRuleSet extends RRule {
constructor(noCache?: boolean);
private _dtstart?;
private _tzid?;
readonly _exdate: Date[];
readonly _exrule: RRule[];
readonly _rdate: Date[];
readonly _rrule: RRule[];
dtstart: any;
tzid: any;
 
_iter<M extends QueryMethodTypes>(iterResult: IterResult<M>): IterResultType<M>;
clone(): RRuleSet;
exdate(date: Date): void;
exdates(): Date[];
exrule(rrule: RRule): void;
exrules(): (RRule | RRuleSet)[];
rdate(date: Date): void;
rdates(): Date[];
rrule(rrule: RRule): void;
rrules(): (RRule | RRuleSet)[];
toString(): string;
valueOf(): string[];
}

§Extends

§
RRule
[src]

§Constructors

§
new RRuleSet(noCache?: boolean)
[src]
@param noCache

The same stratagy as RRule on cache, default to false

§Properties

§
_dtstart
[src]
§
_tzid
[src]
§
_exdate: Date[]
[src]
§
_exrule: RRule[]
[src]
§
_rdate: Date[]
[src]
§
_rrule: RRule[]
[src]
§
dtstart: any
[src]
§
tzid: any
[src]

§Methods

§
_iter<M extends QueryMethodTypes>(iterResult: IterResult<M>): IterResultType<M>
[src]
§
clone(): RRuleSet
[src]

Create a new RRuleSet Object completely base on current instance

§
exdate(date: Date): void
[src]

Adds an EXDATE to the set

§
exdates(): Date[]
[src]

Get list of included datetimes in this recurrence set.

@return

List of exdates

§
exrule(rrule: RRule): void
[src]

Adds an EXRULE to the set

§
exrules(): (RRule | RRuleSet)[]
[src]

Get list of excluded rrules in this recurrence set.

@return

List of exrules

§
rdate(date: Date): void
[src]

Adds an RDate to the set

§
rdates(): Date[]
[src]

Get list of included datetimes in this recurrence set.

@return

List of rdates

§
rrule(rrule: RRule): void
[src]

Adds an RRule to the set

§
rrules(): (RRule | RRuleSet)[]
[src]

Get list of included rrules in this recurrence set.

@return

List of rrules

§
toString(): string
[src]

to generate recurrence field such as: DTSTART:19970902T010000Z RRULE:FREQ=YEARLY;COUNT=2;BYDAY=TU RRULE:FREQ=YEARLY;COUNT=1;BYDAY=TH

§
valueOf(): string[]
[src]