Lines Matching refs:DateTimeInterface

181 function date_format(DateTimeInterface $object, string $format): string {}
190 function date_timezone_get(DateTimeInterface $object): DateTimeZone|false {}
194 function date_offset_get(DateTimeInterface $object): int {}
198DateTimeInterface $baseObject, DateTimeInterface $targetObject, bool $absolute = false): DateInter…
209 function date_timestamp_get(DateTimeInterface $object): int {}
220 function timezone_offset_get(DateTimeZone $object, DateTimeInterface $datetime): int {}
285 interface DateTimeInterface interface
329 public function diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval;
339 class DateTime implements DateTimeInterface
357 …public static function createFromInterface(DateTimeInterface $object): DateTime {} // TODO return …
446 public function diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval {}
449 class DateTimeImmutable implements DateTimeInterface
504 public function diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval {}
534 …public static function createFromInterface(DateTimeInterface $object): DateTimeImmutable {} // TOD…
622 public function getOffset(DateTimeInterface $datetime): int {}
703 public ?DateTimeInterface $start;
705 public ?DateTimeInterface $current;
707 public ?DateTimeInterface $end;
720 * @param DateTimeInterface|string $start
722 * @param DateTimeInterface|int $end
728 public function getStartDate(): DateTimeInterface {}
731 public function getEndDate(): ?DateTimeInterface {}