interface DateTimeInterface
Interface for dates, optionally including a time.
Hierarchy
- interface \Drupal\Core\TypedData\Type\DateTimeInterface
Related topics
- Typed Data API
- API for describing data based on a set of available data types.
File
- core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php, line 12
Namespace
Drupal\Core\TypedData\TypeMembers
Name | Modifiers | Type | Description |
---|---|---|---|
DateTimeInterface::getDateTime | public | function | Returns the date time object. |
DateTimeInterface::setDateTime | public | function | Sets the date time object. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!TypedData!Type!DateTimeInterface.php/interface/DateTimeInterface/8.1.x