Package kieker.analysis.util.time
Class ChronoUnits
java.lang.Object
kieker.analysis.util.time.ChronoUnits
Helper class for
ChronoUnits.- Since:
- 1.14
- Author:
- Sören Henning
-
Method Summary
Modifier and TypeMethodDescriptionstatic ChronoUnitcreateFromTimeUnit(TimeUnit timeUnit) Will be obsolete in Java 9 and can be replaced byTimeUnit.toChronoUnit().
-
Method Details
-
createFromTimeUnit
Will be obsolete in Java 9 and can be replaced byTimeUnit.toChronoUnit(). See: https://bugs.openjdk.java.net/browse/JDK-8141452- Parameters:
timeUnit- the used time unit.- Returns:
- returns the corresponding Chrono unit for a time unit.
-