DateTimePlus::$inputTimeAdjusted

The prepared time, without timezone, for this date. File core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 61 Class DateTimePlus Wraps DateTime(). Namespace Drupal\Component\Datetime Code protected $inputTimeAdjusted = '';

DateTimePlus::$inputFormatRaw

The value of the format passed to the constructor. File core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 76 Class DateTimePlus Wraps DateTime(). Namespace Drupal\Component\Datetime Code protected $inputFormatRaw = '';

DateTimePlus::$inputFormatAdjusted

The prepared format, if provided. File core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 81 Class DateTimePlus Wraps DateTime(). Namespace Drupal\Component\Datetime Code protected $inputFormatAdjusted = '';

DateTimePlus::$errors

An array of errors encountered when creating this date. File core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 91 Class DateTimePlus Wraps DateTime(). Namespace Drupal\Component\Datetime Code protected $errors = array();

DateTimePlus::$dateTimeObject

The DateTime object. Type: \DateTime File core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 98 Class DateTimePlus Wraps DateTime(). Namespace Drupal\Component\Datetime Code protected $dateTimeObject = NULL;

DateTimePlus::$dateParts

An array of possible date parts. File core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 44 Class DateTimePlus Wraps DateTime(). Namespace Drupal\Component\Datetime Code protected static $dateParts = array( 'year', 'month', 'day', 'hour', 'minute', 'second', );

DateTimePlus

Wraps DateTime(). This class wraps the PHP DateTime class with more flexible initialization parameters, allowing a date to be created from an existing date object, a timestamp, a string with an unknown format, a string with a known format, or an array of date parts. It also adds an errors array and a __toString() method to the date object. This class is less lenient than the DateTime class. It changes the default behavior for handling date values like '2011-00-00'. The DateTime class would conv

DateTimeInterface::setDateTime

public DateTimeInterface::setDateTime(DrupalDateTime $dateTime) Sets the date time object. Parameters \Drupal\Core\Datetime\DrupalDateTime $dateTime: An instance of a date time object. File core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php, line 28 Class DateTimeInterface Interface for dates, optionally including a time. Namespace Drupal\Core\TypedData\Type Code public function setDateTime(DrupalDateTime $dateTime);

DateTimeInterface::getDateTime

public DateTimeInterface::getDateTime() Returns the date time object. Return value \Drupal\Core\Datetime\DrupalDateTime|null A date object or NULL if there is no date. File core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php, line 20 Class DateTimeInterface Interface for dates, optionally including a time. Namespace Drupal\Core\TypedData\Type Code public function getDateTime();

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