LibreOffice
LibreOffice 24.2 SDK API Reference
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

◆ Days

sequence< CalendarItem2 > Days

The days of the week.

◆ Default

boolean Default

If this is the default calendar for a given locale.

◆ Eras

sequence< CalendarItem2 > Eras

The possible eras.

◆ GenitiveMonths

sequence< CalendarItem2 > GenitiveMonths

The months of the year in possessive genitive case.

◆ MinimumNumberOfDaysForFirstWeek

short MinimumNumberOfDaysForFirstWeek

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

◆ Months

sequence< CalendarItem2 > Months

The months of the year.

◆ Name

string Name

The name of the calendar, for example, Gregorian.

◆ PartitiveMonths

sequence< CalendarItem2 > PartitiveMonths

The months of the year in partitive case.

◆ StartOfWeek

string StartOfWeek

The ID of the day with which the week begins.


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