LibreOffice
LibreOffice 7.4 SDK API Reference
Public Types | Public Attributes | List of all members
Calendar2 Struct Referencepublished

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

import"Calendar2.idl";

Public Types

typedef sequence< CalendarItem2Days
 The days of the week. More...
 
typedef sequence< CalendarItem2Months
 The months of the year. More...
 
typedef sequence< CalendarItem2GenitiveMonths
 The months of the year in possessive genitive case. More...
 
typedef sequence< CalendarItem2PartitiveMonths
 The months of the year in partitive case. More...
 
typedef sequence< CalendarItem2Eras
 The possible eras. More...
 

Public Attributes

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 Typedef Documentation

◆ Days

sequence< CalendarItem2 > Days

The days of the week.

◆ Eras

sequence< CalendarItem2 > Eras

The possible eras.

◆ GenitiveMonths

The months of the year in possessive genitive case.

◆ Months

sequence< CalendarItem2 > Months

The months of the year.

◆ PartitiveMonths

The months of the year in partitive case.

Member Data Documentation

◆ Default

boolean Default

If this is the default calendar for a given locale.

◆ MinimumNumberOfDaysForFirstWeek

short MinimumNumberOfDaysForFirstWeek

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

◆ Name

string Name

The name of the calendar, for example, Gregorian.

◆ StartOfWeek

string StartOfWeek

The ID of the day with which the week begins.


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