1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27#ifndef __com_sun_star_bridge_oleautomation_Date_idl__
28#define __com_sun_star_bridge_oleautomation_Date_idl__
29
30
31module com {  module sun {  module star {  module bridge {  module oleautomation {
32
33/** is the UNO representation of the Automation type <code>DATE</code>.
34    <p>
35    A <code>DATE</code> could actually be representd as<atom>double</atom> in
36    UNO and therefore a typedef from <atom>double</atom> to a date type would
37    do. But a typedef cannot be expressed in all language bindings. In the
38    case where no typedefs are supported the actual type is used. That is, a
39    typedef'd date type would be represented as <code>double</code> in Java.
40    The information that the <atom>double</atom> is a date type is lost.
41    </p>
42    <p>
43    When calling Automation objects from UNO the distinction between
44    <atom>double</atom> and date type is important. Therefore <type>Date</type>
45    is declared as struct.
46    </p>
47
48    @since OOo 1.1.2
49 */
50struct Date
51{
52    /** corresponds to the Automation type <code>DATE</code>.
53     */
54    double Value;
55};
56
57}; }; }; }; };
58
59
60#endif
61