Enum TimeScale
- java.lang.Object
-
- java.lang.Enum<TimeScale>
-
- gaia.cu9.ari.gaiaorbit.util.gaia.time.TimeScale
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GPS
GPS timeTAI
International Atomic TimeTCB
Barycentric Coordinate TimeTCG
Geocentric Coordinate TimeTDB
Barycentric Dynamical TimeTG
Gaia's proper Time "Temp de Gaia"TT
Terrestial TimeUNKNOWN
Embrace the unknownUTC
Coordinated Universal Time
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TimeScale
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TimeScale[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TG
public static final TimeScale TG
Gaia's proper Time "Temp de Gaia"
-
TCB
public static final TimeScale TCB
Barycentric Coordinate Time
-
TT
public static final TimeScale TT
Terrestial Time
-
TDB
public static final TimeScale TDB
Barycentric Dynamical Time
-
TCG
public static final TimeScale TCG
Geocentric Coordinate Time
-
UTC
public static final TimeScale UTC
Coordinated Universal Time
-
TAI
public static final TimeScale TAI
International Atomic Time
-
GPS
public static final TimeScale GPS
GPS time
-
UNKNOWN
public static final TimeScale UNKNOWN
Embrace the unknown
-
-
Method Detail
-
values
public static TimeScale[] 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 (TimeScale c : TimeScale.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TimeScale valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-