Enum Class TimeSystem
- All Implemented Interfaces:
Serializable,Comparable<TimeSystem>,Constable
The set of time systems defined in CCSDS standards (ADM, ODM, NDM).
- Author:
- Evan Ward
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGreenwich Mean Sidereal Time.Global Positioning System.Mission Elapsed Time.Mission Relative Time.Spacecraft Clock.International Atomic Time.Barycentric Coordinate Time.Geocentric Coordinate Time.Barycentric Dynamical Time.Terrestrial Time.Universal Time.Universal Coordinated Time. -
Method Summary
Modifier and TypeMethodDescriptionabstract TimeConvertergetConverter(ContextBinding context) Get associatedTimeConverter.static TimeSystemParse a value from a key=value entry.static TimeSystemReturns the enum constant of this class with the specified name.static TimeSystem[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GMST
Greenwich Mean Sidereal Time. -
GPS
Global Positioning System. -
MET
Mission Elapsed Time. -
MRT
Mission Relative Time. -
SCLK
Spacecraft Clock. -
TAI
International Atomic Time. -
TCB
Barycentric Coordinate Time. -
TDB
Barycentric Dynamical Time. -
TCG
Geocentric Coordinate Time. -
TT
Terrestrial Time. -
UT1
Universal Time. -
UTC
Universal Coordinated Time.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getConverter
Get associatedTimeConverter.- Parameters:
context- context binding- Returns:
- time system for reading/writing date
- Since:
- 11.0
-
parse
Parse a value from a key=value entry.- Parameters:
value- value to parse- Returns:
- CCSDS time system corresponding to the value
-