Enum Class SimpleTimeseriesQuery.TimeKind
java.lang.Object
java.lang.Enum<SimpleTimeseriesQuery.TimeKind>
de.iip_ecosphere.platform.connectors.events.SimpleTimeseriesQuery.TimeKind
- All Implemented Interfaces:
Serializable,Comparable<SimpleTimeseriesQuery.TimeKind>,Constable
- Enclosing class:
SimpleTimeseriesQuery
Time value interpretations.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAbsolute as point in time since 1970-01-01T00:00:00Z.Relative from now in days.Relative from now in hours.Relative from now in micro seconds.Relative from now in milli seconds.Relative from now in minutes.Relative from now in seconds.Relative from now in weeks.Unspecified, to be ignored. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static SimpleTimeseriesQuery.TimeKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Unspecified, to be ignored. -
ABSOLUTE
Absolute as point in time since 1970-01-01T00:00:00Z. -
RELATIVE_WEEKS
Relative from now in weeks. -
RELATIVE_DAYS
Relative from now in days. -
RELATIVE_HOURS
Relative from now in hours. -
RELATIVE_MINUTES
Relative from now in minutes. -
RELATIVE_SECONDS
Relative from now in seconds. -
RELATIVE_MILLISECONDS
Relative from now in milli seconds. -
RELATIVE_MICROSECONDS
Relative from now in micro seconds.
-
-
Constructor Details
-
TimeKind
private TimeKind()
-
-
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
-