LibreOffice LibreOffice 5.3 SDK API Reference

DateTime.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 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19 #ifndef __com_sun_star_util_DateTime_idl__
20 #define __com_sun_star_util_DateTime_idl__
21
22
23 module com { module sun { module star { module util {
24
25
28 published struct DateTime
29 {
32 unsigned long NanoSeconds;
33
36 unsigned short Seconds;
37
38
41 unsigned short Minutes;
42
43
46 unsigned short Hours;
47
48
51 unsigned short Day;
52
53
56 unsigned short Month;
57
58
61 short Year;
62
67 boolean IsUTC;
68
69 };
70
71
72 }; }; }; };
73
74 #endif
75
76 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::util::DateTime::Month
unsigned short Month
is the month of year (1-12 or 0 for a void date).
Definition: DateTime.idl:56
com::sun::star::util::DateTime::Minutes
unsigned short Minutes
contains the minutes (0-59).
Definition: DateTime.idl:41
com::sun::star::util::DateTime::Hours
unsigned short Hours
contains the hour (0-23).
Definition: DateTime.idl:46
com::sun::star::util::DateTime::Day
unsigned short Day
is the day of month (1-31 or 0 for a void date).
Definition: DateTime.idl:51
com::sun::star::util::DateTime
represents a combined date+time value.
Definition: DateTime.idl:28
com
Definition: Ambiguous.idl:22
com::sun::star::util::DateTime::Year
short Year
is the year.
Definition: DateTime.idl:61
com::sun::star::util::DateTime::NanoSeconds
unsigned long NanoSeconds
contains the nanoseconds (0 - 999 999 999).
Definition: DateTime.idl:32
com::sun::star::util::DateTime::IsUTC
boolean IsUTC
true: time zone is UTC false: unknown time zone.
Definition: DateTime.idl:67
com::sun::star::util::DateTime::Seconds
unsigned short Seconds
contains the seconds (0-59).
Definition: DateTime.idl:36