Duration Class

Detailed Documentation

Example Usage

General

Duration objects are named TimeSpan objects that represent effective time periods of values in TimeSeries.

Non-instantaneous Durations come in two varieties:

  • EOP: (end-of-period) For these durations the value for the period is recorded at the time instance ending of the period.

  • BOP: (beginning-of-period) For these durations the value for the period is recorded at the time instance beginning of the period.

Note that HEC-DSS time series do not have associated Durations; their durations are normally interpreted to be instaneous or the same as the time series interval, depending on the ParameterType

Duration objects are not created by the user, but pre-created Duration objects are retrieved for specific Intervals. Unless specified otherwise, EOP durations are returned.