- java.lang.Object
-
- java.lang.Enum<TimeSystem>
-
- spice.basic.TimeSystem
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TimeSystem>
,java.lang.constant.Constable
public enum TimeSystem extends java.lang.Enum<TimeSystem>
Enum TimeSystem identifies the time systems known to JNISPICE.Version 1.0.0 14-DEC-2009 (NJB)
-
-
Constructor Summary
Constructors Modifier Constructor Description private
TimeSystem()
-
Method Summary
Modifier and Type Method Description static TimeSystem
valueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
JED
public static final TimeSystem JED
-
SCLK
public static final TimeSystem SCLK
-
TAI
public static final TimeSystem TAI
-
TDB
public static final TimeSystem TDB
-
TDT
public static final TimeSystem TDT
-
TT
public static final TimeSystem TT
-
UTC
public static final TimeSystem UTC
-
-
Method Detail
-
values
public static TimeSystem[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TimeSystem valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-