LibreOffice
LibreOffice 7.4 SDK API Reference
DateTimeRange.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_DateTimeRange_idl__
20 #define __com_sun_star_util_DateTimeRange_idl__
21 
22 
23 module com { module sun { module star { module util {
24 
25 
28 published struct DateTimeRange
29 {
32  unsigned long StartNanoSeconds;
33 
36  unsigned short StartSeconds;
37 
40  unsigned short StartMinutes;
41 
44  unsigned short StartHours;
45 
48  unsigned short StartDay;
49 
52  unsigned short StartMonth;
53 
56  short StartYear;
57 
60  unsigned long EndNanoSeconds;
61 
64  unsigned short EndSeconds;
65 
68  unsigned short EndMinutes;
69 
72  unsigned short EndHours;
73 
76  unsigned short EndDay;
77 
80  unsigned short EndMonth;
81 
84  short EndYear;
85 
90  boolean IsUTC;
91 
92 };
93 
94 
95 }; }; }; };
96 
97 #endif
98 
99 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition: Ambiguous.idl:22
represents a range of date+time values.
Definition: DateTimeRange.idl:29
unsigned short EndDay
contains the end day of month (1-31 or 0 for a void date) for the range.
Definition: DateTimeRange.idl:76
unsigned short StartHours
contains the start hour (0-23) for the range.
Definition: DateTimeRange.idl:44
unsigned long StartNanoSeconds
contains the start nanoseconds (0 - 999 999 999) for the range.
Definition: DateTimeRange.idl:32
unsigned short StartMonth
contains the start month of year (1-12 or 0 for a void date) for the range.
Definition: DateTimeRange.idl:52
unsigned short StartMinutes
contains the start minutes (0-59) for the range.
Definition: DateTimeRange.idl:40
short StartYear
contains the start year for the range.
Definition: DateTimeRange.idl:56
unsigned short EndMinutes
contains the end minutes (0-59) for the range.
Definition: DateTimeRange.idl:68
boolean IsUTC
true: time zone is UTC false: unknown time zone.
Definition: DateTimeRange.idl:90
unsigned short EndMonth
contains the end month of year (1-12 or 0 for a void date) for the range.
Definition: DateTimeRange.idl:80
unsigned short EndHours
contains the end hour (0-23) for the range.
Definition: DateTimeRange.idl:72
unsigned short EndSeconds
contains the end seconds (0-59) for the range.
Definition: DateTimeRange.idl:64
unsigned long EndNanoSeconds
contains the end nanoseconds (0 - 999 999 999) for the range.
Definition: DateTimeRange.idl:60
unsigned short StartDay
contains the start day of month (1-31 or 0 for a void date) for the range.
Definition: DateTimeRange.idl:48
unsigned short StartSeconds
contains the start seconds (0-59) for the range.
Definition: DateTimeRange.idl:36
short EndYear
contains the end year for the range.
Definition: DateTimeRange.idl:84