parse
expect fun parse(input: CharSequence, format: DateTimeFormat<LocalDateTime> = getIsoDateTimeFormat()): LocalDateTime(source)
A shortcut for calling DateTimeFormat.parse.
Parses a string that represents a date/time value including date and time components but without any time zone component and returns the parsed LocalDateTime value.
If format is not specified, Formats.ISO is used.
Throws
if the text cannot be parsed or the boundaries of LocalDateTime are exceeded.