Assembly: Cubes;
Namespace: Prognoz.Platform.Interop.Cubes;
The ICalendarDimensionClass interface contains static methods of the CalendarDimension class.
ICalendarDimensionClass
Static methods of the CalendarDimension class are used to form functions by which relations are calculated in a standard cube. The function returns the integer value.
Function call format:
Fore. [Unit/form identifier].[Function name]. For example:
MyModule.MyFunc(T);
Fore.NET. [Namespace].[Class name].[Function name]. For example:
MyModuleNET.MyClass.MyFunc(T);
To execute calculation relative to the current element, use the T parameter.
Method name | Brief description | |
The Day method returns index of the element that corresponds to the start of the calendar period containing the specified element. | ||
The DownLevel method returns index of the element that is a parent for the specified element. | ||
The HalfYear method returns index of the element that corresponds to the half-year containing the specified element. | ||
The IifLevel method checks if the specified element belongs to the specified dictionary level. | ||
The Level method returns dictionary level containing the specified element. | ||
The Month method returns index of the element corresponding to the month containing the specified element. | ||
The NineMonths method returns index of the element corresponding to the Nine Months period containing the specified element. | ||
The Quarter method returns index of the element that corresponds to the quarter containing the specified element. | ||
The Shift method returns index of the element obtained by shifting relative to the specified element. | ||
The ShiftLevel method returns index of the element obtained by shifting relative to the specified element on the specified level. | ||
The ToLevel method returns index of the element corresponding to the specified element on the specified level. | ||
The UpLevel method returns index of the element that is a child for the specified element. | ||
The Year method returns index of the element that corresponds to the year containing the specified element. |
See also: