public DateFormatInterface::setPattern($pattern)
Sets the date pattern for this format.
string $pattern: The date pattern to use for this format.
$this
public function setPattern($pattern);
© 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!Core!Datetime!DateFormatInterface.php/function/DateFormatInterface::setPattern/8.1.x