Package org.yamcs.tctm
Enum AbstractPacketPreprocessor.TimeEpochs
- java.lang.Object
-
- java.lang.Enum<AbstractPacketPreprocessor.TimeEpochs>
-
- org.yamcs.tctm.AbstractPacketPreprocessor.TimeEpochs
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractPacketPreprocessor.TimeEpochs>
- Enclosing class:
- AbstractPacketPreprocessor
public static enum AbstractPacketPreprocessor.TimeEpochs extends Enum<AbstractPacketPreprocessor.TimeEpochs>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractPacketPreprocessor.TimeEpochs
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractPacketPreprocessor.TimeEpochs[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TAI
public static final AbstractPacketPreprocessor.TimeEpochs TAI
-
J2000
public static final AbstractPacketPreprocessor.TimeEpochs J2000
-
UNIX
public static final AbstractPacketPreprocessor.TimeEpochs UNIX
-
GPS
public static final AbstractPacketPreprocessor.TimeEpochs GPS
-
CUSTOM
public static final AbstractPacketPreprocessor.TimeEpochs CUSTOM
-
-
Method Detail
-
values
public static AbstractPacketPreprocessor.TimeEpochs[] 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 (AbstractPacketPreprocessor.TimeEpochs c : AbstractPacketPreprocessor.TimeEpochs.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractPacketPreprocessor.TimeEpochs 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
-
-