Class ChronoUnitToSymbolMapper

java.lang.Object
kieker.analysis.util.time.ChronoUnitToSymbolMapper
All Implemented Interfaces:
java.util.function.Function<java.time.temporal.ChronoUnit,​java.lang.String>

public final class ChronoUnitToSymbolMapper
extends java.lang.Object
implements java.util.function.Function<java.time.temporal.ChronoUnit,​java.lang.String>
This class is a Function that maps ChronoUnits to their common symbols and abbreviations. If not common abbreviations exists a full name is returned.
Since:
1.14
Author:
Sören Henning
  • Method Summary

    Modifier and Type Method Description
    java.lang.String apply​(java.time.temporal.ChronoUnit chronoUnit)  
    static ChronoUnitToSymbolMapper create()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Method Details

    • apply

      public java.lang.String apply​(java.time.temporal.ChronoUnit chronoUnit)
      Specified by:
      apply in interface java.util.function.Function<java.time.temporal.ChronoUnit,​java.lang.String>
    • create

      public static ChronoUnitToSymbolMapper create()