Package org.orekit.gnss
Enum ObservationTimeScale
- java.lang.Object
-
- java.lang.Enum<ObservationTimeScale>
-
- org.orekit.gnss.ObservationTimeScale
-
- All Implemented Interfaces:
Serializable
,Comparable<ObservationTimeScale>
public enum ObservationTimeScale extends Enum<ObservationTimeScale>
Observation time scales.- Since:
- 12.0
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract TimeScale
getTimeScale(TimeScales timeScales)
Get time scale.static ObservationTimeScale
valueOf(String name)
Returns the enum constant of this type with the specified name.static ObservationTimeScale[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GPS
public static final ObservationTimeScale GPS
GPS time scale.
-
GAL
public static final ObservationTimeScale GAL
Galileo time scale.
-
GLO
public static final ObservationTimeScale GLO
GLONASS time scale.
-
QZS
public static final ObservationTimeScale QZS
QZSS time scale.
-
BDT
public static final ObservationTimeScale BDT
Beidou time scale.
-
IRN
public static final ObservationTimeScale IRN
IRNSS time scale.
-
-
Method Detail
-
values
public static ObservationTimeScale[] 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 (ObservationTimeScale c : ObservationTimeScale.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObservationTimeScale 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 nameNullPointerException
- if the argument is null
-
getTimeScale
public abstract TimeScale getTimeScale(TimeScales timeScales)
Get time scale.- Parameters:
timeScales
- time scales factory- Returns:
- time scale
-
-