StringTemporalParts
Read onlyYes
FinalYes
Methods
- __construct() : mixed
- from() : self
- hasExplicitDay() : bool
- isDate() : bool
- isDateTime() : bool
- isoDate() : bool
- isoDateTime() : bool
Methods
__construct()
public
__construct(bool $calendarDate, bool $time) : mixed
Parameters
- $calendarDate : bool
- $time : bool
from()
public
static from(string $value) : self
Parameters
- $value : string
Return values
selfhasExplicitDay()
public
static hasExplicitDay(string $value) : bool
Parameters
- $value : string
Return values
boolisDate()
public
isDate() : bool
Return values
boolisDateTime()
public
isDateTime() : bool
Return values
boolisoDate()
public
static isoDate(string $value) : bool
Parameters
- $value : string
Return values
boolisoDateTime()
public
static isoDateTime(string $value) : bool
Parameters
- $value : string