Skip to content

EventDate


  • Full name: \boundstate\events\models\EventDate
  • Parent class: 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

Parameters:

Parameter Type Description
$config mixed

getRule

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

Parameters:

Parameter Type Description
$forceRefresh ?bool

rules

public rules(): array

validateUntil

public validateUntil(): void

getRepeatDescription

public getRepeatDescription(): ?string

getOccurrences

public getOccurrences(?\Recurr\Transformer\ConstraintInterface $constraint = null): \Recurr\RecurrenceCollection

Parameters:

Parameter Type Description
$constraint ?\Recurr\Transformer\ConstraintInterface

getNextOccurrence

public getNextOccurrence(): ?\Recurr\Recurrence

getFirstStartDate

public getFirstStartDate(): ?\DateTime

getLastEndDate

public getLastEndDate(): ?\DateTime

isPast

public isPast(): bool