Lines Matching refs:DateTimeInterface

184 function date_format(DateTimeInterface $object, string $format): string {}
193 function date_timezone_get(DateTimeInterface $object): DateTimeZone|false {}
197 function date_offset_get(DateTimeInterface $object): int {}
201DateTimeInterface $baseObject, DateTimeInterface $targetObject, bool $absolute = false): DateInter…
212 function date_timestamp_get(DateTimeInterface $object): int {}
223 function timezone_offset_get(DateTimeZone $object, DateTimeInterface $datetime): int {}
288 interface DateTimeInterface interface
334 public function diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval;
344 class DateTime implements DateTimeInterface
362 …public static function createFromInterface(DateTimeInterface $object): DateTime {} // TODO return …
458 public function diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval {}
461 class DateTimeImmutable implements DateTimeInterface
524 public function diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval {}
556 …public static function createFromInterface(DateTimeInterface $object): DateTimeImmutable {} // TOD…
602 public function getOffset(DateTimeInterface $datetime): int {}
680 public ?DateTimeInterface $start;
685 public ?DateTimeInterface $current;
690 public ?DateTimeInterface $end;
715 * @param DateTimeInterface|string $start
717 * @param DateTimeInterface|int $end
723 public function getStartDate(): DateTimeInterface {}
726 public function getEndDate(): ?DateTimeInterface {}