main.cesium.LeapSecond.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
@file:Suppress(
"EXTERNAL_CLASS_CONSTRUCTOR_PROPERTY_PARAMETER",
)
package cesium
/**
* Describes a single leap second, which is constructed from a [JulianDate] and a
* numerical offset representing the number of seconds TAI is ahead of the UTC time standard.
* @see Online Documentation
*
* @constructor
* @param [date] A Julian date representing the time of the leap second.
* @property [offset] The cumulative number of seconds that TAI is ahead of UTC at the provided date.
* @see Online Documentation
*/
@JsName("\$cesium__LeapSecond")
external class LeapSecond(
date: JulianDate? = definedExternally,
var offset: Double = definedExternally,
) {
/**
* Gets or sets the date at which this leap second occurs.
* @see Online Documentation
*/
var julianDate: JulianDate
}