Mercurial > hg > cmmr2012-drupal-site
comparison core/lib/Drupal/Core/Datetime/DrupalDateTime.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
14 * Static methods in base class can also be used to create DrupalDateTime objects. | 14 * Static methods in base class can also be used to create DrupalDateTime objects. |
15 * For example: | 15 * For example: |
16 * | 16 * |
17 * DrupalDateTime::createFromArray( array('year' => 2010, 'month' => 9, 'day' => 28) ) | 17 * DrupalDateTime::createFromArray( array('year' => 2010, 'month' => 9, 'day' => 28) ) |
18 * | 18 * |
19 * @see \Drupal/Component/Datetime/DateTimePlus.php | 19 * @see \Drupal\Component\Datetime\DateTimePlus |
20 */ | 20 */ |
21 class DrupalDateTime extends DateTimePlus { | 21 class DrupalDateTime extends DateTimePlus { |
22 | 22 |
23 use StringTranslationTrait; | 23 use StringTranslationTrait; |
24 | 24 |