iso8601
Formats a period and duration to a string in ISO-8601 format.
To obtain the ISO-8601 format of a Period or Duration individually, simply call toString(). See also PeriodDuration.
Return
the ISO-8601 format for the period and duration
Parameters
period
the period to format
duration
the duration to format