convert

fun convert(    value: Double,     sourceUnit: DurationUnit,     targetUnit: DurationUnit): Double(source)

Converts the given time duration value expressed in the specified sourceUnit into the specified targetUnit.