LibreOffice
LibreOffice 24.2 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 
20 
21 module com { module sun { module star { module util {
22 
23 
26 published struct DateTime
27 {
30  unsigned long NanoSeconds;
31 
34  unsigned short Seconds;
35 
36 
39  unsigned short Minutes;
40 
41 
44  unsigned short Hours;
45 
46 
49  unsigned short Day;
50 
51 
54  unsigned short Month;
55 
56 
59  short Year;
60 
65  boolean IsUTC;
66 
67 };
68 
69 
70 }; }; }; };
71 
72 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
unsigned short Month
is the month of year (1-12 or 0 for a void date).
Definition: DateTime.idl:54
unsigned short Minutes
contains the minutes (0-59).
Definition: DateTime.idl:39
unsigned short Hours
contains the hour (0-23).
Definition: DateTime.idl:44
unsigned short Day
is the day of month (1-31 or 0 for a void date).
Definition: DateTime.idl:49
represents a combined date+time value.
Definition: DateTime.idl:26
Definition: Ambiguous.idl:20
short Year
is the year.
Definition: DateTime.idl:59
unsigned long NanoSeconds
contains the nanoseconds (0 - 999 999 999).
Definition: DateTime.idl:30
boolean IsUTC
true: time zone is UTC false: unknown time zone.
Definition: DateTime.idl:65
unsigned short Seconds
contains the seconds (0-59).
Definition: DateTime.idl:34