//ERDDAP/com.cohort.util/ScriptCalendar2/tryToEpochSeconds
tryToEpochSeconds
[JVM]
open fun tryToEpochSeconds(someDateTimeString: String): Double
This tries to figure out the format of someDateTimeString then parse the value and convert it to epochSeconds.
Return
epochSeconds (or Double.NaN if trouble);
Parameters
JVM
someDateTimeString | a formatted time string |