Converts the Duration to the representation in string.
The Duration to be converted
The duration in string