Lines Matching refs:DateTime
7 use DateTime;
26 * @var DateTime|false
52 $this->dateTime = new DateTime();
81 * because {@link DateTime::createFromFormat} with a format of
97 * because {@link DateTime::createFromFormat} with a format of
107 * because {@link DateTime::createFromFormat} with a format of
127 $dateTime = DateTime::createFromFormat(self::getFormat(), $dateString);
138 $dateTime = new DateTime();
180 public static function createFromDateTime(DateTime $dateTime): Iso8601Date
238 * Shortcut to {@link DateTime::format()}
325 public function olderThan(DateTime $rightTime): bool
337 public function diff(DateTime $rightTime): \DateInterval