protected static property 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',
);

© 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!Component!Datetime!DateTimePlus.php/property/DateTimePlus::dateParts/8.1.x