Export (0) Print
Expand All

Calendar Type Information (Compact 2013)

3/28/2014

These constants specify the calendar type (CALTYPE data type).

You can use the following CALTYPE constants in combination with any other CALTYPE constants.

Name

Description

CAL_NOUSEROVERRIDE

Use the system default instead of the user's choice.

CAL_RETURN_GENITIVE_NAMES

Return the genitive case names of months, which are the names that are used when the month names are combined with other items. For example, in Ukrainian the first month of the year is written "Січень" when the month is named alone. However, when the month name is used with a date, for example, January 5th, the genitive form of the name is used, "5 січня."

CAL_RETURN_NUMBER

Return results as a number instead of a string. This is valid only in combination with CALTYPE constants that begin with CAL_I.

CAL_USE_CP_ACP

Use the ANSI code page (ACP) instead of the locale code page for string translation. This is only relevant for ANSI versions of functions, for example, EnumCalendarInfoA .

The following CALTYPE constants are mutually exclusive and cannot be used in combination with each other in a function call.

Name

Description

CAL_ICALINTVALUE

An integer value indicating the calendar type of the alternate calendar.

CAL_ITWODIGITYEARMAX

An integer value indicating the upper boundary of the two-digit year range.

CAL_IYEAROFFSETRANGE

One or more null-terminated strings that specify the year offsets for each of the era ranges. The last string has an extra null character at the end. This value varies in format depending on the type of optional calendar.

CAL_SABBREVDAYNAME1

Abbreviated native name of the first day of the week.

CAL_SABBREVDAYNAME2

Abbreviated native name of the second day of the week.

CAL_SABBREVDAYNAME3

Abbreviated native name of the third day of the week.

CAL_SABBREVDAYNAME4

Abbreviated native name of the fourth day of the week.

CAL_SABBREVDAYNAME5

Abbreviated native name of the fifth day of the week.

CAL_SABBREVDAYNAME6

Abbreviated native name of the sixth day of the week.

CAL_SABBREVDAYNAME7

Abbreviated native name of the seventh day of the week.

CAL_SABBREVERASTRING

Abbreviated native name of an era. The full era is represented by the CAL_SERASTRING constant.

CAL_SABBREVMONTHNAME1

Abbreviated native name of the first month of the year.

CAL_SABBREVMONTHNAME2

Abbreviated native name of the second month of the year.

CAL_SABBREVMONTHNAME3

Abbreviated native name of the third month of the year.

CAL_SABBREVMONTHNAME4

Abbreviated native name of the fourth month of the year.

CAL_SABBREVMONTHNAME5

Abbreviated native name of the fifth month of the year.

CAL_SABBREVMONTHNAME6

Abbreviated native name of the sixth month of the year.

CAL_SABBREVMONTHNAME7

Abbreviated native name of the seventh month of the year.

CAL_SABBREVMONTHNAME8

Abbreviated native name of the eighth month of the year.

CAL_SABBREVMONTHNAME9

Abbreviated native name of the ninth month of the year.

CAL_SABBREVMONTHNAME10

Abbreviated native name of the tenth month of the year.

CAL_SABBREVMONTHNAME11

Abbreviated native name of the eleventh month of the year.

CAL_SABBREVMONTHNAME12

Abbreviated native name of the twelfth month of the year.

CAL_SABBREVMONTHNAME13

Abbreviated native name of the thirteenth month of the year, if it exists.

CAL_SCALNAME

Native name of the alternate calendar.

CAL_SDAYNAME1

Native name of the first day of the week.

CAL_SDAYNAME2

Native name of the second day of the week.

CAL_SDAYNAME3

Native name of the third day of the week.

CAL_SDAYNAME4

Native name of the fourth day of the week.

CAL_SDAYNAME5

Native name of the fifth day of the week.

CAL_SDAYNAME6

Native name of the sixth day of the week.

CAL_SDAYNAME7

Native name of the seventh day of the week.

CAL_SERASTRING

One or more null-terminated strings that define each Unicode code point that determines the era associated with CAL_IYEAROFFSETRANGE. The last string has an extra null character at the end. This value varies in format depending on the type of optional calendar.

CAL_SLONGDATE

Long date formats for the calendar type.

CAL_SMONTHDAY

Format of the month and day for the calendar type. The formatting is similar to that for CAL_SLONGDATE. For example, if the format is the full month name followed by the day number with a leading zero, for example, "September 03," the format is "MMMM dd." You can use single quotation marks to insert nonformat characters (characters that appear literally): for example, 'de' in Spanish.

Gg155997.note(en-us,WinEmbedded.80).gifNote:
This calendar type supports only one format.

CAL_SMONTHNAME1

Native name of the first month of the year.

CAL_SMONTHNAME2

Native name of the second month of the year.

CAL_SMONTHNAME3

Native name of the third month of the year.

CAL_SMONTHNAME4

Native name of the fourth month of the year.

CAL_SMONTHNAME5

Native name of the fifth month of the year.

CAL_SMONTHNAME6

Native name of the sixth month of the year.

CAL_SMONTHNAME7

Native name of the seventh month of the year.

CAL_SMONTHNAME8

Native name of the eighth month of the year.

CAL_SMONTHNAME9

Native name of the ninth month of the year.

CAL_SMONTHNAME10

Native name of the tenth month of the year.

CAL_SMONTHNAME11

Native name of the eleventh month of the year.

CAL_SMONTHNAME12

Native name of the twelfth month of the year.

CAL_SMONTHNAME13

Native name of the thirteenth month of the year, if it exists.

CAL_SSHORTDATE

Short date formats for the calendar type.

CAL_SSHORTESTDAYNAME1

Short native name of the first day of the week.

CAL_SSHORTESTDAYNAME2

Short native name of the second day of the week.

CAL_SSHORTESTDAYNAME3

Short native name of the third day of the week.

CAL_SSHORTESTDAYNAME4

Short native name of the fourth day of the week.

CAL_SSHORTESTDAYNAME5

Short native name of the fifth day of the week.

CAL_SSHORTESTDAYNAME6

Short native name of the sixth day of the week.

CAL_SSHORTESTDAYNAME7

Short native name of the seventh day of the week.

CAL_SYEARMONTH

The year and month formats for the specified calendars.

Header

winnls.h

Library

Coreloc.lib

Show:
© 2014 Microsoft