Package org.orekit.time
Class UT1Scale
- java.lang.Object
-
- org.orekit.time.UT1Scale
-
- All Implemented Interfaces:
Serializable
,TimeScale
public class UT1Scale extends Object implements TimeScale
Universal Time 1.UT1 is a time scale directly linked to the actual rotation of the Earth. It is an irregular scale, reflecting Earth irregular rotation rate. The offset between UT1 and
UTC
is found in the Earth Orientation Parameters published by IERS.- Since:
- 5.1
- Author:
- Luc Maisonobe
- See Also:
AbsoluteDate
, Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
UT1Scale(EOPHistory eopHistory, UTCScale utc)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EOPHistory
getEOPHistory()
Get the EOP history.String
getName()
Get the name time scale.UTCScale
getUTCScale()
Get the associated UTC scale.double
offsetFromTAI(AbsoluteDate date)
Get the offset to convert locations fromTAIScale
to instance.<T extends org.hipparchus.RealFieldElement<T>>
ToffsetFromTAI(FieldAbsoluteDate<T> date)
Get the offset to convert locations fromTAIScale
to instance.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.orekit.time.TimeScale
getLeap, getLeap, insideLeap, insideLeap, minuteDuration, minuteDuration, offsetToTAI
-
-
-
-
Constructor Detail
-
UT1Scale
protected UT1Scale(EOPHistory eopHistory, UTCScale utc)
Simple constructor.- Parameters:
eopHistory
- user supplied EOP history (may be null)utc
- UTC time scale
-
-
Method Detail
-
getUTCScale
public UTCScale getUTCScale()
Get the associated UTC scale.- Returns:
- associated UTC scale.
- Since:
- 9.1
-
getEOPHistory
public EOPHistory getEOPHistory()
Get the EOP history.- Returns:
- eop history (may be null)
-
offsetFromTAI
public double offsetFromTAI(AbsoluteDate date)
Get the offset to convert locations fromTAIScale
to instance.- Specified by:
offsetFromTAI
in interfaceTimeScale
- Parameters:
date
- conversion date- Returns:
- offset in seconds to add to a location in
TAIScale
time scale to get a location in instance time scale - See Also:
TimeScale.offsetToTAI(DateComponents, TimeComponents)
-
offsetFromTAI
public <T extends org.hipparchus.RealFieldElement<T>> T offsetFromTAI(FieldAbsoluteDate<T> date)
Get the offset to convert locations fromTAIScale
to instance.- Specified by:
offsetFromTAI
in interfaceTimeScale
- Type Parameters:
T
- type of the filed elements- Parameters:
date
- conversion date- Returns:
- offset in seconds to add to a location in
TAIScale
time scale to get a location in instance time scale - See Also:
TimeScale.offsetToTAI(DateComponents, TimeComponents)
-
getName
public String getName()
Get the name time scale.
-
-