class DurationUnitsProvider extends AbstractUnitsProvider<Duration> {

    @Override
    public <T extends Duration> T convert(Class<T> desiredType, Duration from) throws InvalidUnitsException
    {
        return Duration.create(desiredType, from);
    }

    public  DurationUnitsProvider();

}