public enum TimeSystem extends Enum<TimeSystem>
Enum Constant and Description |
---|
BEIDOU
Beidou.
|
GALILEO
GALILEO.
|
GLONASS
GLONASS.
|
GPS
Global Positioning System.
|
IRNSS
IRNSS.
|
QZSS
Quasi-Zenith System.
|
TAI
International Atomic Time.
|
UNKNOWN
Unknown.
|
UTC
Coordinated Universal Time.
|
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Get the key for the system.
|
TimeScale |
getTimeScale(TimeScales timeScales)
Get the time scale corresponding to time system.
|
static TimeSystem |
parseTimeSystem(String s)
Parse a string to get the time system.
|
static TimeSystem |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeSystem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeSystem GPS
public static final TimeSystem GLONASS
public static final TimeSystem GALILEO
public static final TimeSystem TAI
public static final TimeSystem UTC
public static final TimeSystem QZSS
public static final TimeSystem BEIDOU
public static final TimeSystem IRNSS
public static final TimeSystem UNKNOWN
public static TimeSystem[] values()
for (TimeSystem c : TimeSystem.values()) System.out.println(c);
public static TimeSystem valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getKey()
public static TimeSystem parseTimeSystem(String s) throws OrekitIllegalArgumentException
The string must be the time system.
s
- string to parseOrekitIllegalArgumentException
- if the string does not correspond to a time system keypublic TimeScale getTimeScale(TimeScales timeScales)
timeScales
- the set of time scales to useCopyright © 2002-2021 CS GROUP. All rights reserved.