TimeUtil

object TimeUtil

Functions

Link copied to clipboard
fun gregorianToJD(date: Int, month: Int, year: Int, hourDouble: Double = 0.0, timeZone: Double = 0.0): Double

convert Gregorian to Julian Day

Link copied to clipboard
fun jc(jd: Double): Double

Julian Century (JC) for standart epoch 2000

Link copied to clipboard
fun jce(jde: Double): Double

Julian Century Ephemeris (JCE) for standart epoch 2000

Link copied to clipboard
fun jde(jd: Double, deltaT: Double): Double

Julian Day Ephemeris (JDE)

Link copied to clipboard
inline fun <T> jdToGregorian(jd: Double, timeZone: Double, dateFormat: DateFormat): T?

Convert Julian Day to Gregorian

Link copied to clipboard
fun jm(_jc: Double): Double

Julian Millennium (JM) for standart epoch 2000

Link copied to clipboard
fun jme(_jce: Double): Double

Julian Millennium Ephemeris (JME) for standart epoch 2000

Link copied to clipboard
fun julianType(jd: Double, deltaT: Double, julianType: JulianType): Double

Julian Date with option type