Class ChronoUnits

java.lang.Object
kieker.analysis.util.time.ChronoUnits

public final class ChronoUnits
extends java.lang.Object
Helper class for ChronoUnits.
Since:
1.14
Author:
Sören Henning
  • Method Summary

    Modifier and Type Method Description
    static java.time.temporal.ChronoUnit createFromTimeUnit​(java.util.concurrent.TimeUnit timeUnit)
    Will be obsolete in Java 9 and can be replaced by TimeUnit.toChronoUnit().

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • createFromTimeUnit

      public static java.time.temporal.ChronoUnit createFromTimeUnit​(java.util.concurrent.TimeUnit timeUnit)
      Will be obsolete in Java 9 and can be replaced by TimeUnit.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.