Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / util / DateWithTimezone.idl
blobe60bcb7b8cfc17ab77f6a8b8f6bb1a2df6778c40
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_DateTZ_idl__
11 #define __com_sun_star_util_DateTZ_idl__
13 #include <com/sun/star/util/Date.idl>
16 module com { module sun { module star { module util {
18 /** represents a date value with time zone.
20 @since LibreOffice 4.1
22 struct DateWithTimezone
24 /** the date.
25 @note XMLSchema-2 defines this as a 24 hour interval.
26 The TimeZone shifts the interval along the UTC time line.
28 Date DateInTZ;
30 /** contains the time zone, as signed offset in minutes *from* UTC,
31 that is *east* of UTC, that is the amount of minutes that should
32 be added to UTC time to obtain time in that timezone.
34 short Timezone;
38 }; }; }; };
40 #endif
42 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */