DurationCoalescingConverter

constructor(longHelp: Boolean = true, positiveOnly: Boolean = true, shouldThrow: Boolean = false, validator: Validator<DateTimePeriod> = null)

Parameters

longHelp

Whether to send the user a long help message with specific information on how to specify durations.

positiveOnly

Whether a positive duration is required - true by default.