GetHolTypeFromTable

Navigation:  Appendices > Macro Language > Built-in Functions > All Functions (Alphabetical) >

GetHolTypeFromTable

Previous pageReturn to chapter overviewNext page

int = GetHolTypeFromTable()

 

This function returns a number that corresponds to the type of holiday that is currently selected. The correspondence between the values returned by this function and the various types of holidays is given in the table below.

 

Value

Rule Type

Value

Rule Type

0

Fixed

11

Hindu

1

Variable

12

not used

2

Easter

13

Sikh

3

Arbitrary

14

Solar

4

Jewish

15

not used

5

Range

16

Lunisolar

6

Muslim

17

Persian

7

Chinese (more)

18

Korean

8

Egyptian

19

South-East Asian

9

Orthodox

 


10

Bahai

 


 

Note that the Chinese, Egyptian, Hindu, Korean and South-East Asian types of rules each have sub-types whose values can be obtained using the GetHolTypeFromTable function.

 

  hrChinese        7;

        chtLunar  = 71;

        chtSolar  = 72;

  hrKorean        18; kotLunar  = 181; kotSolar  = 182;

 

  hrEgypt         =  8;

        hrEthiopic   = 80;

        hrEthiopic = 81;

        hrEgyptian = 82;

        hrArmenian = 83;

 

  hrHindu         = 11;

        hrHinduLunar = 110;

        hrHinduSolar = 111;

  hrSouthAsian    = 19;

        satFullMoon   = 191;

        satSpecialRule = 192;

        satCalendrical = 193;

 


Topic 176825 updated on 26-Jan-2017.
Topic URL: http://www.qppstudio.net/webhelp/index.html?getholtypefromtable.htm