| implements | DateTimeInterface | 
|---|
| Methods | ||
|---|---|---|
| 
					
	public
					
					
				 | __construct(string $datetime = "now", ?DateTimeZone $timezone = null) | # | 
| 
					
	public
					
					
				 | __serialize(): array | # | 
| 
					
	public
					
					
				 | __unserialize(array $data): void | # | 
| 
					
	public
					
					
				 | __wakeup(): void | # | 
| 
					
	public
					static
					
				 | __set_state(array $array): DateTimeImmutable | # | 
| 
					
	public
					static
					
				 | createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = null): DateTimeImmutable|false | # | 
| 
					
	public
					static
					
				 | getLastErrors(): array|false | # | 
| 
					
	public
					
					
				 | format(string $format): string | # | 
| 
					
	public
					
					
				 | getTimezone(): DateTimeZone|false | # | 
| 
					
	public
					
					
				 | getOffset(): int | # | 
| 
					
	public
					
					
				 | getTimestamp(): int | # | 
| 
					
	public
					
					
				 | diff(DateTimeInterface $targetObject, bool $absolute = false): DateInterval | # | 
| 
					
	public
					
					
				 | modify(string $modifier): DateTimeImmutable|false | # | 
| 
					
	public
					
					
				 | add(DateInterval $interval): DateTimeImmutable | # | 
| 
					
	public
					
					
				 | sub(DateInterval $interval): DateTimeImmutable | # | 
| 
					
	public
					
					
				 | setTimezone(DateTimeZone $timezone): DateTimeImmutable | # | 
| 
					
	public
					
					
				 | setTime(int $hour, int $minute, int $second = 0, int $microsecond = 0): DateTimeImmutable | # | 
| 
					
	public
					
					
				 | setDate(int $year, int $month, int $day): DateTimeImmutable | # | 
| 
					
	public
					
					
				 | setISODate(int $year, int $week, int $dayOfWeek = 1): DateTimeImmutable | # | 
| 
					
	public
					
					
				 | setTimestamp(int $timestamp): DateTimeImmutable | # | 
| 
					
	public
					static
					
				 | createFromMutable(DateTime $object): DateTimeImmutable | # | 
| 
					
	public
					static
					
				 | createFromInterface(DateTimeInterface $object): DateTimeImmutable | # |