public
parse(string $value, ?DateTimeZone $timezone = null): ?DateTimeImmutable
Convert a string to a date and time, returning null if it can't be parsed
The timezone used during parsing is the first that applies of:
$value
$timezone
UTC
Salient\Core\Date\DateFormatParser::parse()
Salient\Core\Date\DateFormatter::parse()
Salient\Core\Date\DateParser::parse()
Salient\Core\Date\DotNetDateParser::parse()