DateRange
in package
Class DateRange
Table of Contents
Properties
- $date : string
Methods
- __construct() : mixed
- DateRange constructor.
- __toString() : string
- getFrom() : DateTimeImmutable|null
- getFromProp() : DateProp
- getUntil() : DateTimeImmutable|null
- getUntilProp() : DateProp
Properties
$date
private
string
$date
Methods
__construct()
DateRange constructor.
public
__construct(string $date) : mixed
Parameters
- $date : string
__toString()
public
__toString() : string
Return values
stringgetFrom()
public
getFrom() : DateTimeImmutable|null
Return values
DateTimeImmutable|nullgetFromProp()
public
getFromProp() : DateProp
Return values
DatePropgetUntil()
public
getUntil() : DateTimeImmutable|null
Return values
DateTimeImmutable|nullgetUntilProp()
public
getUntilProp() : DateProp