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\Type
Members
Name | Modifiers | Type | Description |
---|---|---|---|
DateTimeInterface::getDateTime | public | function | Returns the date time object. |
DateTimeInterface::setDateTime | public | function | Sets the date time object. |
Please login to continue.