Lines Matching refs:dateFormat
77 protected $dateFormat;
86 * @param string $dateFormat Represents the furthest datetime element to represent in the datetime object.
89 public function __construct(?DateTimeInterface $dateTime, string $dateFormat, string $tzFormat)
91 $this->setDateTimeFormat($dateFormat);
146 return $this->dateFormat;
150 * @param string $dateFormat
153 public function setDateTimeFormat(string $dateFormat)
155 if (!in_array($dateFormat, $this->validDateFormats)) {
158 $dateFormat,
162 $this->dateFormat = $dateFormat;
172 * @param string $dateFormat
176 public static function withTag($tagNumber, int $class, bool $isConstructed, ?DateTimeInterface $dateTime, string $dateFormat, string $tzFormat)
178 $type = new static($dateTime, $dateFormat, $tzFormat);