//ERDDAP/com.cohort.util/ScriptCalendar2/tryToIsoString
tryToIsoString
[JVM]
open fun tryToIsoString(someDateTimeString: String): String
This tries to figure out the format of someDateTimeString then parse the value and convert to an ISO 8601 string with 'Z' at end. This is the most flexible approach to parsing/cleaning a weird date time string.
Return
an iso8601String as a date, a dateTime with T and Z, or "" if trouble;