Documentation

BackfillPeriod
in package
uses CloneWith

FinalYes

Describes a time periods and policy and takes Actions as if that time passed by right now, all at once.

Tags
see
BackfillRequest

Table of Contents

Properties

$endTime  : DateTimeInterface
$overlapPolicy  : ScheduleOverlapPolicy
$startTime  : DateTimeInterface

Methods

new()  : self
withEndTime()  : self
End of the range to evaluate schedule in.
withOverlapPolicy()  : self
Policy for overlaps.
withStartTime()  : self
Start of the range to evaluate schedule in.
__construct()  : mixed

Properties

Methods

new()

public static new(DateTimeInterface|string $startTime, DateTimeInterface|string $endTime[, ScheduleOverlapPolicy $overlapPolicy = ScheduleOverlapPolicy::Unspecified ]) : self
Parameters
$startTime : DateTimeInterface|string

Start of the range to evaluate schedule in.

$endTime : DateTimeInterface|string

End of the range to evaluate schedule in.

$overlapPolicy : ScheduleOverlapPolicy = ScheduleOverlapPolicy::Unspecified

Policy for overlaps.

Return values
self

withEndTime()

End of the range to evaluate schedule in.

public withEndTime(DateTimeInterface|string $dateTime) : self
Parameters
$dateTime : DateTimeInterface|string
Return values
self

withStartTime()

Start of the range to evaluate schedule in.

public withStartTime(DateTimeInterface|string $dateTime) : self
Parameters
$dateTime : DateTimeInterface|string
Return values
self

__construct()

private __construct(DateTimeInterface $startTime, DateTimeInterface $endTime[, ScheduleOverlapPolicy $overlapPolicy = ScheduleOverlapPolicy::Unspecified ]) : mixed
Parameters
$startTime : DateTimeInterface

Start of the range to evaluate schedule in.

$endTime : DateTimeInterface

End of the range to evaluate schedule in.

$overlapPolicy : ScheduleOverlapPolicy = ScheduleOverlapPolicy::Unspecified

        
On this page

Search results