Assembly: 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: [Unit/form identifier].[Function name]. For example:
MyModule.MyFunc(T);
To execute calculation relative to the current element, use the T parameter.
Method name | Brief description | |
Day | The Day method returns index of the element that corresponds to the start of the calendar period containing the specified element. | |
DownLevel | The DownLevel method returns index of the element that is a parent for the specified element. | |
HalfYear | The HalfYear method returns index of the element that corresponds to the half-year containing the specified element. | |
IifLevel | The IifLevel method checks if the specified element belongs to the specified dictionary level. | |
Level | The Level method returns dictionary level containing the specified element. | |
Month | The Month method returns index of the element corresponding to the month containing the specified element. | |
NineMonths | The NineMonths method returns index of the element corresponding to the Nine Months period containing the specified element. | |
Quarter | The Quarter method returns index of the element that corresponds to the quarter containing the specified element. | |
Shift | The Shift method returns index of the element obtained by shifting relative to the specified element. | |
ShiftLevel | The ShiftLevel method returns index of the element obtained by shifting relative to the specified element on the specified level. | |
ToLevel | The ToLevel method returns index of the element corresponding to the specified element on the specified level. | |
UpLevel | The UpLevel method returns index of the element that is a child for the specified element. | |
Year | The Year method returns index of the element that corresponds to the year containing the specified element. |
See also: