Package kieker.analysis.util.time
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 ChronoUnit
s 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()