fr.cnes.genopus.time
Enum GPAbsoluteDate.GPDateTimeScale
java.lang.Object
java.lang.Enum<GPAbsoluteDate.GPDateTimeScale>
fr.cnes.genopus.time.GPAbsoluteDate.GPDateTimeScale
- All Implemented Interfaces:
- Serializable, Comparable<GPAbsoluteDate.GPDateTimeScale>
- Enclosing class:
- GPAbsoluteDate
public static enum GPAbsoluteDate.GPDateTimeScale
- extends Enum<GPAbsoluteDate.GPDateTimeScale>
Time scales (with the same names used in Orekit).
- Author:
- aadt
UTC
public static final GPAbsoluteDate.GPDateTimeScale UTC
TAI
public static final GPAbsoluteDate.GPDateTimeScale TAI
TT
public static final GPAbsoluteDate.GPDateTimeScale TT
GPS
public static final GPAbsoluteDate.GPDateTimeScale GPS
GST
public static final GPAbsoluteDate.GPDateTimeScale GST
values
public static GPAbsoluteDate.GPDateTimeScale[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (GPAbsoluteDate.GPDateTimeScale c : GPAbsoluteDate.GPDateTimeScale.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GPAbsoluteDate.GPDateTimeScale valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getPatriusObject
public org.orekit.time.TimeScale getPatriusObject()
- Obtain the Patrius TimeScale from the GENOPUS GPDateTimeScale.
- Returns:
- the Patrius TimeScale associated to the GENOPUS GPDateTimeScale;
Copyright © 2017. All rights reserved.