decodeDate

fun decodeDate(dateString: String): Date

Decodes a date string into a Date object.

Return

The corresponding Date object.

Parameters

dateString

The date string to decode.

Throws

If the date string does not match any expected format.