|
Erebot
latest
A modular IRC bot for PHP 5.3+
|
Interface for a date and/or time embedded in a template. More...
Inheritance diagram for Erebot\Styling\Variables\DateTimeInterface:Public Member Functions | |
| getDateType () | |
| getTimeType () | |
| getTimeZone () | |
Public Member Functions inherited from Erebot\Styling\VariableInterface | |
| getValue () | |
| render (\Erebot\IntlInterface $translator) | |
Interface for a date and/or time embedded in a template.
Definition at line 27 of file DateTimeInterface.php.
| Erebot\Styling\Variables\DateTimeInterface::getDateType | ( | ) |
Returns the type of rendering used for dates.
| opaque | The type of rendering used for dates. This is one of the constants defined in http://php.net/manual/en/class.intldateformatter.php |
Implemented in Erebot\Styling\Variables\DateTimeVariable.
| Erebot\Styling\Variables\DateTimeInterface::getTimeType | ( | ) |
Returns the type of rendering used for times.
| opaque | The type of rendering used for dates. This is one of the constants defined in http://php.net/manual/en/class.intldateformatter.php |
Implemented in Erebot\Styling\Variables\DateTimeVariable.
| Erebot\Styling\Variables\DateTimeInterface::getTimeZone | ( | ) |
Returns the timezone used to format values.
| string | The name of the timezone used to format dates and times (eg. "Europe/Paris"). |
| NULL | NULL is returned in case no timezone was specified during this object's creation. In that case, the current timezone of the system is used to render dates/times. |
Implemented in Erebot\Styling\Variables\DateTimeVariable.