public class EarthOrientationParametersReadOptions extends Object
EarthOrientationParametersFile
.Constructor and Description |
---|
EarthOrientationParametersReadOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
getInterpretTimesUsingLeapSecondsFacet()
Gets a value indicating whether times in the
EarthOrientationParametersFile
should be interpreted using the leap seconds facet. |
void |
setInterpretTimesUsingLeapSecondsFacet(boolean value)
Sets a value indicating whether times in the
EarthOrientationParametersFile
should be interpreted using the leap seconds facet. |
public EarthOrientationParametersReadOptions()
public final boolean getInterpretTimesUsingLeapSecondsFacet()
EarthOrientationParametersFile
should be interpreted using the leap seconds facet. When the value of this property is false
, the default,
CoordinatedUniversalTime
(get
) (UTC) times in an EOP file are converted to
InternationalAtomicTime
(get
) (TAI) using the difference between the two that
is specified in the EOP file itself. This ensures that the absolute time of each EOP sample is as
intended by the author of the file. When the value of this property is false
,
the conversion to TAI is done using the list of leap seconds known to the LeapSecondsFacet
in the CalculationContext
. This is provided for compatibility with older versions
of DME Component Libraries and other software that interprets the UTC times in an EOP file in this way. Regardless
of the value of this property, the leap seconds in the LeapSecondsFacet
will be used if the
EOP file itself does not contain any information about the difference between TAI and UTC.public final void setInterpretTimesUsingLeapSecondsFacet(boolean value)
EarthOrientationParametersFile
should be interpreted using the leap seconds facet. When the value of this property is false
, the default,
CoordinatedUniversalTime
(get
) (UTC) times in an EOP file are converted to
InternationalAtomicTime
(get
) (TAI) using the difference between the two that
is specified in the EOP file itself. This ensures that the absolute time of each EOP sample is as
intended by the author of the file. When the value of this property is false
,
the conversion to TAI is done using the list of leap seconds known to the LeapSecondsFacet
in the CalculationContext
. This is provided for compatibility with older versions
of DME Component Libraries and other software that interprets the UTC times in an EOP file in this way. Regardless
of the value of this property, the leap seconds in the LeapSecondsFacet
will be used if the
EOP file itself does not contain any information about the difference between TAI and UTC.