Lines Matching refs:DateTimeInterface
85 function date_format(DateTimeInterface $object, string $format): string {}
94 function date_timezone_get(DateTimeInterface $object): DateTimeZone|false {}
98 function date_offset_get(DateTimeInterface $object): int {}
102 …DateTimeInterface $baseObject, DateTimeInterface $targetObject, bool $absolute = false): DateInter…
113 function date_timestamp_get(DateTimeInterface $object): int {}
124 function timezone_offset_get(DateTimeZone $object, DateTimeInterface $datetime): int {}
189 interface DateTimeInterface interface
204 public function diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval;
210 class DateTime implements DateTimeInterface
223 public static function createFromInterface(DateTimeInterface $object): DateTime {}
314 public function diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval {}
317 class DateTimeImmutable implements DateTimeInterface
368 public function diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval {}
397 public static function createFromInterface(DateTimeInterface $object): DateTimeImmutable {}
414 public function getOffset(DateTimeInterface $datetime): int {}
477 * @param DateTimeInterface|string $start
479 * @param DateTimeInterface|int $end
485 public function getStartDate(): DateTimeInterface {}
488 public function getEndDate(): ?DateTimeInterface {}