LibreOffice: com/sun/star/i18n/Calendar2.idl Source File

LibreOffice LibreOffice 7.3 SDK API Reference

Calendar2.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#ifndef __com_sun_star_i18n_Calendar2_idl__
11#define __com_sun_star_i18n_Calendar2_idl__
12
13#include <com/sun/star/i18n/CalendarItem2.idl>
14
15
16module com { module sun { module star { module i18n {
17
18
45published struct Calendar2
46{
48 sequence< CalendarItem2 > Days;
49
51 sequence< CalendarItem2 > Months;
52
54 sequence< CalendarItem2 > GenitiveMonths;
55
57 sequence< CalendarItem2 > PartitiveMonths;
58
60 sequence< CalendarItem2 > Eras;
61
63 string StartOfWeek;
64
66 short MinimumNumberOfDaysForFirstWeek;
67
69 boolean Default;
70
72 string Name;
73};
74
75}; }; }; };
76
77#endif
CalendarItem2.idl
com
Definition: Accessible.idl:22
com::sun::star::i18n::Calendar2
Calendar items as returned in a sequence by XLocaleData3::getAllCalendars2().
Definition: Calendar2.idl:46
com::sun::star::i18n::Calendar2::Default
boolean Default
If this is the default calendar for a given locale.
Definition: Calendar2.idl:69
com::sun::star::i18n::Calendar2::PartitiveMonths
sequence< CalendarItem2 > PartitiveMonths
The months of the year in partitive case.
Definition: Calendar2.idl:57
com::sun::star::i18n::Calendar2::Months
sequence< CalendarItem2 > Months
The months of the year.
Definition: Calendar2.idl:51
com::sun::star::i18n::Calendar2::Eras
sequence< CalendarItem2 > Eras
The possible eras.
Definition: Calendar2.idl:60
com::sun::star::i18n::Calendar2::Name
string Name
The name of the calendar, for example, Gregorian.
Definition: Calendar2.idl:72
com::sun::star::i18n::Calendar2::GenitiveMonths
sequence< CalendarItem2 > GenitiveMonths
The months of the year in possessive genitive case.
Definition: Calendar2.idl:54
com::sun::star::i18n::Calendar2::Days
sequence< CalendarItem2 > Days
The days of the week.
Definition: Calendar2.idl:48
com::sun::star::i18n::Calendar2::StartOfWeek
string StartOfWeek
The ID of the day with which the week begins.
Definition: Calendar2.idl:63
com::sun::star::i18n::Calendar2::MinimumNumberOfDaysForFirstWeek
short MinimumNumberOfDaysForFirstWeek
How many days must reside in the first week of a year.
Definition: Calendar2.idl:66