Class DurationUnitConverter

java.lang.Object
tools.jackson.databind.ext.javatime.util.DurationUnitConverter

public class DurationUnitConverter extends Object
Handles the conversion of the duration based on the API of Duration for a restricted set of ChronoUnit. Only the units considered as accurate are supported in this converter since are the only ones capable of handling deserialization in a precise manner (see ChronoUnit.isDurationEstimated()).
Since:
2.12