You are here

protected static property DateTimePlus::$dateParts in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::dateParts

An array of possible date parts.

File

lib/Drupal/Component/Datetime/DateTimePlus.php, line 48
Contains \Drupal\Component\Datetime\DateTimePlus.

Class

DateTimePlus
Wraps DateTime().

Namespace

Drupal\Component\Datetime

Code

protected static $dateParts = array(
  'year',
  'month',
  'day',
  'hour',
  'minute',
  'second',
);