:: com :: sun :: star :: i18n ::

struct Calendar2
Description
Calendar items as returned in a sequence by XLocaleData3::getAllCalendars2().

Similar to Calendar this provides additional members with a sequence of possessive (genitive case) and partitive case month names for locales that use them, for example Slavic locales. If a locale does not provide the possessive form in GenitiveMonths, the names are identical to the nominative case nouns in Calendar::Months. If a locale does not provide the partitive case in PartitiveMonths, the names are identical to GenititiveMonths.

The sequences are of type CalendarItem2 instead of CalendarItem, with the additional NarrowName member.

Since
LibreOffice 3.5
See also
XLocaleData
for links to DTD of XML locale data files.

Elements' Summary
Days The days of the week. 
Months The months of the year. 
GenitiveMonths The months of the year in possessive genitive case. 
PartitiveMonths The months of the year in partitive case. 
Eras The possible eras. 
StartOfWeek The ID of the day with which the week begins. 
MinimumNumberOfDaysForFirstWeek How many days must reside in the first week of a year. 
Default If this is the default calendar for a given locale. 
Name The name of the calendar, for example, Gregorian
Elements' Details
Days
sequence< CalendarItem2 > Days;
Description
The days of the week.
Months
sequence< CalendarItem2 > Months;
Description
The months of the year.
GenitiveMonths
sequence< CalendarItem2 > GenitiveMonths;
Description
The months of the year in possessive genitive case.
PartitiveMonths
sequence< CalendarItem2 > PartitiveMonths;
Description
The months of the year in partitive case.
Eras
sequence< CalendarItem2 > Eras;
Description
The possible eras.
StartOfWeek
string StartOfWeek;
Description
The ID of the day with which the week begins.
MinimumNumberOfDaysForFirstWeek
short MinimumNumberOfDaysForFirstWeek;
Description
How many days must reside in the first week of a year.
Default
boolean Default;
Description
If this is the default calendar for a given locale.
Name
string Name;
Description
The name of the calendar, for example, Gregorian.
Top of Page