ข้ามไปยังเนื้อหาหลัก

//ERDDAP/com.cohort.util/ScriptCalendar2/epochSecondsToUnitsSince

epochSecondsToUnitsSince

[JVM]
open fun epochSecondsToUnitsSince(baseSeconds: Double, factorToGetSeconds: Double, epochSeconds: Double): Double

This converts an epochSeconds value into a unitsSince value. This properly handles 'special' factorToGetSeconds values (for month and year).

Return

a numeric time value in source units "units since baseTime"

Parameters

JVM

baseSecondsfrom getTimeBaseAndFactor[0]
factorToGetSecondsfrom getTimeBaseAndFactor[1]
epochSecondsseconds since 1970-01-01 (or NaN if epochSeconds is NaN)