LibreOffice
LibreOffice 4.2 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Attributes | List of all members
Calendar2 Struct Referencepublished

Calendar items as returned in a sequence by XLocaleData3::getAllCalendars2(). More...

import"Calendar2.idl";

Public Attributes

sequence< CalendarItem2Days
 The days of the week. More...
 
sequence< CalendarItem2Months
 The months of the year. More...
 
sequence< CalendarItem2GenitiveMonths
 The months of the year in possessive genitive case. More...
 
sequence< CalendarItem2PartitiveMonths
 The months of the year in partitive case. More...
 
sequence< CalendarItem2Eras
 The possible eras. More...
 
string StartOfWeek
 The ID of the day with which the week begins. More...
 
short MinimumNumberOfDaysForFirstWeek
 How many days must reside in the first week of a year. More...
 
boolean Default
 If this is the default calendar for a given locale. More...
 
string Name
 The name of the calendar, for example, Gregorian. More...
 

Detailed Description

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

Similar to com::sun::star::i18n::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 GenitiveMonths.

The sequences are of type com::sun::star::i18n::CalendarItem2 instead of com::sun::star::i18n::CalendarItem, with the additional #NarrowName member.

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

Member Data Documentation

sequence< CalendarItem2 > Days

The days of the week.

boolean Default

If this is the default calendar for a given locale.

sequence< CalendarItem2 > Eras

The possible eras.

sequence< CalendarItem2 > GenitiveMonths

The months of the year in possessive genitive case.

short MinimumNumberOfDaysForFirstWeek

How many days must reside in the first week of a year.

sequence< CalendarItem2 > Months

The months of the year.

string Name

The name of the calendar, for example, Gregorian.

sequence< CalendarItem2 > PartitiveMonths

The months of the year in partitive case.

string StartOfWeek

The ID of the day with which the week begins.


The documentation for this struct was generated from the following file: