Class Utils
- java.lang.Object
-
- de.fraunhofer.iosb.ilt.sensorthingsmanager.aggregation.Utils
-
public class Utils extends Object
- Author:
- scf
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUtils.AggregationLevels
-
Field Summary
Fields Modifier and Type Field Description static StringKEY_AGGREGATE_AMOUNTstatic StringKEY_AGGREGATE_FORstatic StringKEY_AGGREGATE_SOURCEstatic StringKEY_AGGREGATE_SOURCE_Dstatic StringKEY_AGGREGATE_SOURCE_MDstatic StringKEY_AGGREGATE_UNITstatic StringLBstatic de.fraunhofer.iosb.ilt.sta.model.ext.UnitOfMeasurementNULL_UNITstatic PatternPOSTFIX_PATTERNstatic StringRBstatic CharsetUTF8
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InstantgetPhenTimeEnd(de.fraunhofer.iosb.ilt.sta.model.Observation obs)static InstantgetPhenTimeEnd(de.fraunhofer.iosb.ilt.sta.model.TimeObject phenTime)static InstantgetPhenTimeStart(de.fraunhofer.iosb.ilt.sta.model.Observation obs)static InstantgetPhenTimeStart(de.fraunhofer.iosb.ilt.sta.model.TimeObject phenTime)
-
-
-
Field Detail
-
NULL_UNIT
public static final de.fraunhofer.iosb.ilt.sta.model.ext.UnitOfMeasurement NULL_UNIT
-
KEY_AGGREGATE_SOURCE
public static final String KEY_AGGREGATE_SOURCE
- See Also:
- Constant Field Values
-
KEY_AGGREGATE_SOURCE_D
public static final String KEY_AGGREGATE_SOURCE_D
- See Also:
- Constant Field Values
-
KEY_AGGREGATE_SOURCE_MD
public static final String KEY_AGGREGATE_SOURCE_MD
- See Also:
- Constant Field Values
-
KEY_AGGREGATE_FOR
public static final String KEY_AGGREGATE_FOR
- See Also:
- Constant Field Values
-
KEY_AGGREGATE_UNIT
public static final String KEY_AGGREGATE_UNIT
- See Also:
- Constant Field Values
-
KEY_AGGREGATE_AMOUNT
public static final String KEY_AGGREGATE_AMOUNT
- See Also:
- Constant Field Values
-
UTF8
public static final Charset UTF8
-
LB
public static final String LB
-
RB
public static final String RB
-
POSTFIX_PATTERN
public static final Pattern POSTFIX_PATTERN
-
-
Method Detail
-
getPhenTimeStart
public static Instant getPhenTimeStart(de.fraunhofer.iosb.ilt.sta.model.Observation obs)
-
getPhenTimeStart
public static Instant getPhenTimeStart(de.fraunhofer.iosb.ilt.sta.model.TimeObject phenTime)
-
getPhenTimeEnd
public static Instant getPhenTimeEnd(de.fraunhofer.iosb.ilt.sta.model.Observation obs)
-
getPhenTimeEnd
public static Instant getPhenTimeEnd(de.fraunhofer.iosb.ilt.sta.model.TimeObject phenTime)
-
-