parse

open fun parse(date: String): Date

Parse a date from ISO-8601 formatted string. It expects a format [yyyy-MM-dd|yyyyMMdd][T(hh:mm[:ss[.sss]]|hhmm[ss[.sss]])]?[Z|[+-]hh:mm]]

Return

the parsed date

Parameters

date

ISO string to parse in the appropriate format.