Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / util / TimeWithTimezone.idl
blob70442ec0a147985ad5be907cef582e21f4aaa370
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_TimeTZ_idl__
11 #define __com_sun_star_util_TimeTZ_idl__
13 #include <com/sun/star/util/Time.idl>
16 module com { module sun { module star { module util {
18 /** represents a combined time value with time zone.
20 @since LibreOffice 4.1
22 struct TimeWithTimezone
24 /** the time (in TimeZone)
26 Time TimeInTZ;
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 time from TimeInTZ, you need to *subtract* TimeZone
33 minutes.
35 short Timezone;
39 }; }; }; };
41 #endif
43 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */