本文へ移動

@eightkk/vue-weave / core / RecurrenceRule

Interface: RecurrenceRule ​

Defined in: src/core/recurrence.ts:34

A parsed RFC 5545 recurrence rule (RRULE). Every field but frequency is optional.

Properties ​

byMonth? ​

optional byMonth?: readonly number[]

Defined in: src/core/recurrence.ts:50

BYMONTH: 1 to 12.


byMonthDay? ​

optional byMonthDay?: readonly number[]

Defined in: src/core/recurrence.ts:48

BYMONTHDAY: 1 to 31, or -1 (last day) to -31. Not with WEEKLY.


bySetPosition? ​

optional bySetPosition?: readonly number[]

Defined in: src/core/recurrence.ts:52

BYSETPOS: positions (1 to 366, or negative from the end) in the instances of each period. Needs another BY part.


byWeekday? ​

optional byWeekday?: readonly RecurrenceWeekday[]

Defined in: src/core/recurrence.ts:46

BYDAY. Ordinals are allowed with MONTHLY and YEARLY only.


count? ​

optional count?: number

Defined in: src/core/recurrence.ts:39

COUNT: the number of instances, the first one included. Not together with until.


frequency ​

frequency: RecurrenceFrequency

Defined in: src/core/recurrence.ts:35


interval? ​

optional interval?: number

Defined in: src/core/recurrence.ts:37

INTERVAL: every nth day, week, month or year. Default 1.


until? ​

optional until?: number

Defined in: src/core/recurrence.ts:44

UNTIL in epoch milliseconds, inclusive: the last rule instance starts at or before it (the first instance, DTSTART, is part of the set even when it is later). Not together with count.


weekStart? ​

optional weekStart?: number

Defined in: src/core/recurrence.ts:54

WKST: the first day of a week for WEEKLY periods, 0 = Sunday to 6 = Saturday. Default 1 (Monday).

MIT ライセンスで公開しています。