LibreOffice LibreOffice 26.2 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
11module com { module sun { module star { module i18n {
12
13
14
23 interface XCalendar4 : com::sun::star::i18n::XCalendar3
24{
34 void setLocalDateTime( [in] double TimeInDays );
35
45 double getLocalDateTime();
46
58 void loadDefaultCalendarTZ( [in] ::com::sun::star::lang::Locale rLocale, [in] string TimeZone );
59
77 void loadCalendarTZ( [in] string uniqueID,
78 [in] ::com::sun::star::lang::Locale rLocale,
79 [in] string TimeZone );
80
81};
82
83}; }; }; };
84
85/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::i18n::XCalendar3
This interface provides access to locale specific calendar systems.
Definition: XCalendar3.idl:28
com::sun::star::i18n::XCalendar4
This interface provides access to locale specific calendar systems.
Definition: XCalendar4.idl:24
com::sun::star::i18n::XCalendar4::loadCalendarTZ
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.
com::sun::star::i18n::XCalendar4::loadDefaultCalendarTZ
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.
com::sun::star::i18n::XCalendar4::getLocalDateTime
double getLocalDateTime()
Get the local date/time as an offset to the start of the calendar at 1-Jan-1970 00:00.
com::sun::star::i18n::XCalendar4::setLocalDateTime
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.
com
Definition: Ambiguous.idl:20
com::sun::star::lang::Locale
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:34