Lines Matching refs:string
60 * @var string[] Valid datetime formats.
65 * @var string[] Valid timezone formats
70 * @var string
75 * @var string
86 * @param string $dateFormat Represents the furthest datetime element to represent in the datetime object.
87 * @param string $tzFormat Represents the format of the timezone.
89 public function __construct(?DateTimeInterface $dateTime, string $dateFormat, string $tzFormat)
116 * @return string
118 public function getTimeZoneFormat(): string
124 * @param string $tzFormat
127 public function setTimeZoneFormat(string $tzFormat)
142 * @return string
144 public function getDateTimeFormat(): string
150 * @param string $dateFormat
153 public function setDateTimeFormat(string $dateFormat)
168 * @param string|int $tagNumber
172 * @param string $dateFormat
173 * @param string $tzFormat
176 public static function withTag($tagNumber, int $class, bool $isConstructed, ?DateTimeInterface $dateTime, string $dateFormat, string $tzFormat)