final class Epoch extends AnyRef
An epoch, the astronomer's equivalent of Instant
, based on a fractional year in some temporal
scheme (Julian or Besselian) that determines year zero and the length of a year. The only
meaningful operation for an Epoch
is to ask the elapsed epoch-years between it and some other
point in time. We need this for proper motion corrections because velocities are measured in
motion per epoch-year. The epoch year is stored internally as integral milliyears.
- See also
The Wikipedia article
- Alphabetic
- By Inheritance
- Epoch
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def epochYear: Double
This
Epoch
's year.This
Epoch
's year. Note that this value is not very useful without theScheme
. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(a: Any): Boolean
- Definition Classes
- Epoch → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- Epoch → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def plusYears(y: Double): Epoch
- val scheme: Scheme
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Epoch → AnyRef → Any
- def untilEpochYear(epochYear: Double): Double
Offset in epoch-years from this
Epoch
to the given epoch year under the same scheme. - def untilInstant(i: Instant): Double
Offset in epoch-years from this
Epoch
to the givenInstant
. - def untilJulianDay(jd: Double): Double
Offset in epoch-years from this
Epoch
to the given fractional Julian day. - def untilLocalDateTime(ldt: LocalDateTime): Double
Offset in epoch-years from this
Epoch
to the givenLocalDateTime
. - final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()