A Sandcastle Documented Class Library

# TimeDimensionProvider AddInterval Method

Adds the intervals to a specified time value.

Namespace: Dundas.BI.Data.TimeDimensionProviders
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public abstract DateTime AddInterval(
    	DateTime originalTime,
    	int intervalId,
    	int offset
    )

    Public MustOverride Function AddInterval (
    	originalTime As DateTime,
    	intervalId As Integer,
    	offset As Integer
    ) As DateTime

    public:
    virtual DateTime AddInterval(
    	DateTime originalTime,
    	int intervalId,
    	int offset
    ) abstract

    abstract AddInterval :
            originalTime : DateTime *
            intervalId : int *
            offset : int -> DateTime

#### Parameters

originalTime
  Type: System
  DateTime
  The original time value.
intervalId
  Type: System
  Int32
  ID of the interval.
offset
  Type: System
  Int32
  The offset.

#### Return Value

Type: DateTime
The resulting time.
Exceptions

Exception | Condition
--- | ---
ArgumentOutOfRangeException | The intervalId is invalid.

See Also

#### Reference

TimeDimensionProvider Class
Dundas.BI.Data.TimeDimensionProviders Namespace