IsoString
in package
A string representing a Date, DateTime, or DateTime with Timezone.
Table of Contents
- $value : string
- __construct() : mixed
- __toString() : string
- hasTime() : bool
- Returns whether or not the `IsoString` includes a time element.
- hasTimezone() : bool
- Returns whether or not the `IsoString` includes a timezone element.
Properties
$value
private
string
$value
Methods
__construct()
public
__construct(string $value) : mixed
Parameters
- $value : string
Return values
mixed —__toString()
public
__toString() : string
Return values
string —hasTime()
Returns whether or not the `IsoString` includes a time element.
public
hasTime() : bool
Return values
bool —hasTimezone()
Returns whether or not the `IsoString` includes a timezone element.
public
hasTimezone() : bool