Given tind argument, tspan returns a single tdiff
(or a single number for types "i" and "n") giving time span
of indices.
tspan for tinterval argument returns a tdiff of the same
length as the argument giving spans of time intervals.
Time spans are determined differently for time indices representing
periods of time (for example days) and for time indices that represent points
in time as determined by is.instant function. A sequence
of 3 consecutive dates has span of 3 days and a sequence of 5 consecutive
integers has span 5. On the other hand, a sequence of 3 consecutive hours
will have span of 2 hours, the difference between the last and the first hour,
see Examples.