Class DateTime
Extend the default DateTime class with a flag indicating that it only represent a date and the time should be ignored.
package |
NextEvent\PHPSDK\Model |
---|
__construct(string $time = 'now', \DateTimeZone|null $timezone = null)
In addition, check whether this time string is a date only and set a flag. Only this pattern 'Y-m-d' is recognized as a date without time
see | http://www.php.net/manual/en/class.datetime.php |
---|---|
string
\DateTimeZone|null
__toString() : string
string
fromJson(string $string) : \NextEvent\PHPSDK\Model\DateTime|null
isDateOnly() : boolean
boolean