Package edu.nps.moves.dis7.utilities
Enum Class DisTime.TimeFormatterType
- All Implemented Interfaces:
Serializable
,Comparable<DisTime.TimeFormatterType>
,Constable
- Enclosing class:
DisTime
Enumerations for prepared time formatters
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptiontime formatter output accuracy in hundredths of secondstime formatter output accuracy in microsecondstime formatter output accuracy in millisecondstime formatter output accuracy in nanosecondstime formatter output accuracy in secondstime formatter output accuracy in tenths of seconds -
Method Summary
Modifier and TypeMethodDescriptionstatic DisTime.TimeFormatterType
Returns the enum constant of this class with the specified name.static DisTime.TimeFormatterType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SECONDS
time formatter output accuracy in seconds -
TENTHSECONDS
time formatter output accuracy in tenths of seconds -
HUNDREDTHSECONDS
time formatter output accuracy in hundredths of seconds -
MILLISECONDS
time formatter output accuracy in milliseconds -
MICROSECONDS
time formatter output accuracy in microseconds -
NANOSECONDS
time formatter output accuracy in nanoseconds
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-