Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / util / DateTimeWithTimezone.idl
blob398ed5efea8321b580c6fb867cc7ca832fa03099
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #ifndef __com_sun_star_util_DateTimeTZ_idl__
11 #define __com_sun_star_util_DateTimeTZ_idl__
13 #include <com/sun/star/util/DateTime.idl>
16 module com { module sun { module star { module util {
18 /** represents a combined date+time value with time zone.
20 @since LibreOffice 4.1
22 struct DateTimeWithTimezone
24 /** the date and time (in TimeZone)
26 DateTime DateTimeInTZ;
28 /** contains the time zone, as signed offset in minutes *from* UTC,
29 that is *east* of UTC, that is the amount of minutes that should
30 be added to UTC time to obtain the time in that timezone.
32 To obtain UTC datetime from DateTimeInTZ, you need to *subtract*
33 TimeZone minutes.
35 short Timezone;
39 }; }; }; };
41 #endif
43 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */