build

Builds the Timespan object.

Return

Timespan object.

Throws

if endTime is not after startTime.