TimeDimensionProviderAddInterval Method (ITimeHierarchyMember, Int32, Int32)

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 (24.3.0.1000)
Syntax
public abstract DateTime AddInterval(
	ITimeHierarchyMember timeHierarchyMember,
	int intervalId,
	int offset
)

Parameters

timeHierarchyMember
Type: Dundas.BI.Data.MetadataITimeHierarchyMember
The time hierarchy member to offset.
intervalId
Type: SystemInt32
ID of the interval.
offset
Type: SystemInt32
The offset.

Return Value

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