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

LibreOffice LibreOffice 25.2 SDK API Reference |

Loading...
Searching...
No Matches
Calendar.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 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20
21module com { module sun { module star { module i18n {
22
23
31
32published struct Calendar
33{
35 sequence< CalendarItem > Days;
37 sequence< CalendarItem > Months;
39 sequence< CalendarItem > Eras;
41 string StartOfWeek;
43 short MinimumNumberOfDaysForFirstWeek;
45 boolean Default;
47 string Name;
48};
49
50}; }; }; };
51
52/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com
Definition Ambiguous.idl:20
com::sun::star::i18n::Calendar
A calendar as returned in a sequence by XLocaleData::getAllCalendars().
Definition Calendar.idl:33
com::sun::star::i18n::Calendar::Months
sequence< CalendarItem > Months
the months of the year, see also CalendarItem.
Definition Calendar.idl:37
com::sun::star::i18n::Calendar::Eras
sequence< CalendarItem > Eras
the possible eras, see also CalendarItem.
Definition Calendar.idl:39
com::sun::star::i18n::Calendar::Days
sequence< CalendarItem > Days
the days of the week, see also CalendarItem.
Definition Calendar.idl:35
com::sun::star::i18n::Calendar::Default
boolean Default
if this is the default calendar for a given locale.
Definition Calendar.idl:45
com::sun::star::i18n::Calendar::Name
string Name
the name of the calendar, for example, Gregorian.
Definition Calendar.idl:47
com::sun::star::i18n::Calendar::StartOfWeek
string StartOfWeek
the ID of the day with which the week begins.
Definition Calendar.idl:41
com::sun::star::i18n::Calendar::MinimumNumberOfDaysForFirstWeek
short MinimumNumberOfDaysForFirstWeek
how many days must reside in the first week of a year.
Definition Calendar.idl:43