toIso8601
Creates an ISO8601 representation of the provided interval.
Return
The ISO8601 representation of the provided interval.
Parameters
timeInterval
The interval to be converted.
precision
The number of fractional digits used to represent the seconds component. By default, the most precise representation is used.