public DrupalDateTime::__construct($time = 'now', $timezone = NULL
public DrupalDateTime::format($format, $settings = array())
protected DrupalDateTime::prepareTimezone($timezone)
Format string translation cache. File core/lib/Drupal/Core/Datetime/DrupalDateTime.php, line 28
Extends DateTimePlus(). This class extends the basic component and adds in Drupal-specific handling, like translation of the format() method