Method | Description | |
---|---|---|
__construct ( DateTimeInterface $value ) | ||
__toString ( ) : string | Format the value as a string. | |
formatAsString ( ) : string | Format the value as a string. | |
get ( ) : DateTimeInterface | Get the underlying \DateTimeInterface implementation. | |
type ( ) : string | Get the type. |
public __construct ( DateTimeInterface $value ) | ||
$value | DateTimeInterface | The timestamp value. |
public __toString ( ) : string | ||
return | string |
public formatAsString ( ) : string | ||
return | string |
public get ( ) : DateTimeInterface | ||
return | DateTimeInterface |