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 …
448 public function diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval {}
451 class DateTimeImmutable implements DateTimeInterface
506 public function diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval {}
536 …public static function createFromInterface(DateTimeInterface $object): DateTimeImmutable {} // TOD…
624 public function getOffset(DateTimeInterface $datetime): int {}
706 public ?DateTimeInterface $start;
708 public ?DateTimeInterface $current;
710 public ?DateTimeInterface $end;
721 * @param DateTimeInterface|string $start
723 * @param DateTimeInterface|int $end
729 public function getStartDate(): DateTimeInterface {}
732 public function getEndDate(): ?DateTimeInterface {}