Class EventDate
Extends Model
Constants
FREQ_DAILY
FREQ_WEEKLY
FREQ_MONTHLY
FREQ_YEARLY
ENDS_COUNT
ENDS_UNTIL
Properties
allowNeverEnding
public bool $allowNeverEnding
start
end
timezone
allDay
repeat
interval
freq
byDay
byMonthDay
ends
count
until
inDates
exDates
Methods
__construct
public __construct(mixed $config = []): mixed
|
|
|
$config |
mixed |
|
| return |
mixed |
|
repeatsForCount
public repeatsForCount(): bool
repeatsUntil
public repeatsUntil(): bool
repeatsWeekly
public repeatsWeekly(): bool
repeatsMonthly
public repeatsMonthly(): bool
getRule
public getRule(?bool $forceRefresh = false): ?Rule
|
|
|
$forceRefresh |
?bool |
|
| return |
?Rule |
|
rules
validateUntil
public validateUntil(): void
getRepeatDescription
public getRepeatDescription(): string
getOccurrences
public getOccurrences(?ConstraintInterface $constraint = null): RecurrenceCollection
getNextOccurrence
public getNextOccurrence(): ?Recurrence
getFirstStartDate
public getFirstStartDate(): ?DateTime
getLastEndDate
public getLastEndDate(): ?DateTime
isPast