public enum TimeSystem extends Enum<TimeSystem>
Enum Constant and Description |
---|
BEIDOU
Beidou.
|
GALILEO
GALILEO.
|
GLONASS
GLONASS.
|
GMT
GMT (should only by used in RUN BY / DATE entries).
|
GPS
Global Positioning System.
|
IRNSS
IRNSS.
|
QZSS
Quasi-Zenith System.
|
SBAS
SBAS.
|
TAI
International Atomic Time.
|
UNKNOWN
Unknown (should only by used in RUN BY / DATE entries).
|
UTC
Coordinated Universal Time.
|
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Get the 3 letters key of the time system.
|
TimeScale |
getTimeScale(TimeScales timeScales)
Get the time scale corresponding to time system.
|
static TimeSystem |
parseOneLetterCode(String code)
Parse a string to get the time system.
|
static TimeSystem |
parseTimeSystem(String s)
Parse a string to get the time system.
|
static TimeSystem |
parseTwoLettersCode(String code)
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 SBAS
public static final TimeSystem GMT
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 static TimeSystem parseTwoLettersCode(String code) throws OrekitIllegalArgumentException
The string must be the two letters code of the time system.
code
- string to parseOrekitIllegalArgumentException
- if the string does not correspond to a time system keypublic static TimeSystem parseOneLetterCode(String code) throws OrekitIllegalArgumentException
The string must be the one letters code of the time system. The one letter code is the RINEX GNSS system flag.
code
- 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-2023 CS GROUP. All rights reserved.