Decodes a date string into a Date object.
The corresponding Date object.
The date string to decode.
If the date string does not match any expected format.