মূল বিষয়বস্তু উপেক্ষা করুন

//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

someDateTimeStringa formatted time string