final | |
---|---|
implements |
DateParserInterface |
Parses date and time strings with a given format
Methods | ||
---|---|---|
public
|
__construct(string $format)
|
# |
public
|
parse(string $value, ?DateTimeZone $timezone = null): ?DateTimeImmutable
|
# |