Interval.format()

Formats the interval.