LibreOffice
LibreOffice 7.4 SDK API Reference
XCalendar4.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_XCalendar4_idl__
11 #define __com_sun_star_i18n_XCalendar4_idl__
12 
13 #include <com/sun/star/i18n/Calendar3.idl>
14 
15 
16 module com { module sun { module star { module i18n {
17 
18 
19 
29 {
39  void setLocalDateTime( [in] double TimeInDays );
40 
50  double getLocalDateTime();
51 
63  void loadDefaultCalendarTZ( [in] ::com::sun::star::lang::Locale rLocale, [in] string TimeZone );
64 
82  void loadCalendarTZ( [in] string uniqueID,
83  [in] ::com::sun::star::lang::Locale rLocale,
84  [in] string TimeZone );
85 
86 };
87 
88 }; }; }; };
89 
90 #endif
91 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This interface provides access to locale specific calendar systems.
Definition: XCalendar3.idl:34
This interface provides access to locale specific calendar systems.
Definition: XCalendar4.idl:29
void loadCalendarTZ([in] string uniqueID, [in] ::com::sun::star::lang::Locale rLocale, [in] string TimeZone)
Load a specific calendar for the given locale with a given time zone.
void loadDefaultCalendarTZ([in] ::com::sun::star::lang::Locale rLocale, [in] string TimeZone)
Load the default calendar for the given locale with a given time zone.
double getLocalDateTime()
Get the local date/time as an offset to the start of the calendar at 1-Jan-1970 00:00.
void setLocalDateTime([in] double TimeInDays)
Set the local date/time as an offset to the start of the calendar at 1-Jan-1970 00:00.
Definition: Ambiguous.idl:22
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:38