Duration

public Duration Duration(String unit, Long count)

Parameters

unit

The unit for minimum amount of time for a rental.

count

The minimum number of units that qualify for minimum amount of time for a rental.