TimeDimensionProviderAddInterval(DateTime, Int32, Int32) 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 (26.2.0.1000)
Syntax
public abstract DateTime AddInterval(
	DateTime originalTime,
	int intervalId,
	int offset
)

Parameters

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

Return Value

DateTime
The resulting time.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThe intervalId is invalid.
See Also