Class ChronoUnits

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

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

    • createFromTimeUnit

      public static ChronoUnit createFromTimeUnit(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.