Skip to content

Class EventDate

Extends Model

Properties

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

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