Optional
options: DateTimeParsingOptionsan object equivalent to the date and time contained in expression
.
expression
contains time zone ID, but time zone parsing is not supported for Date parsing.
You need to switch to parseZonedDateTime or parseInstant instead.
Converts the specified string expression of date and/or time to its equivalent Date representation.