Skip to content

Class EventDate

Extends Model

Constants

FREQ_DAILY

FREQ_WEEKLY

FREQ_MONTHLY

FREQ_YEARLY

ENDS_COUNT

ENDS_UNTIL

Properties

allowNeverEnding

public bool $allowNeverEnding

start

public ?DateTime $start

end

public ?DateTime $end

timezone

public ?string $timezone

allDay

public bool $allDay

repeat

public bool $repeat

interval

public ?int $interval

freq

public ?string $freq

byDay

public array $byDay

byMonthDay

public array $byMonthDay

ends

public ?string $ends

count

public ?int $count

until

public ?DateTime $until

inDates

public array $inDates

exDates

public array $exDates

Methods

__construct

public __construct(mixed $config = []): mixed
$config mixed
return mixed

repeatsForCount

public repeatsForCount(): bool
return bool

repeatsUntil

public repeatsUntil(): bool
return bool

repeatsWeekly

public repeatsWeekly(): bool
return bool

repeatsMonthly

public repeatsMonthly(): bool
return bool

getRule

public getRule(?bool $forceRefresh = false): ?Rule
$forceRefresh ?bool
return ?Rule

rules

public rules(): array
return array

validateUntil

public validateUntil(): void

getRepeatDescription

public getRepeatDescription(): string
return string

getOccurrences

public getOccurrences(?ConstraintInterface $constraint = null): RecurrenceCollection
$constraint ?ConstraintInterface
return RecurrenceCollection

getNextOccurrence

public getNextOccurrence(): ?Recurrence
return ?Recurrence

getFirstStartDate

public getFirstStartDate(): ?DateTime
return ?DateTime

getLastEndDate

public getLastEndDate(): ?DateTime
return ?DateTime

isPast

public isPast(): bool
return bool