Get the style color and number just once
[LibreOffice.git] / offapi / com / sun / star / util / DateTimeRange.idl
blob3307662d603036216dbbaaaf078d3a138b7db619
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/.
9 * This file incorporates work covered by the following license notice:
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 .
21 module com { module sun { module star { module util {
24 /** represents a range of date+time values.
26 published struct DateTimeRange
28 /** contains the start nanoseconds (0 - 999 999 999) for the range.
30 unsigned long StartNanoSeconds;
32 /** contains the start seconds (0-59) for the range.
34 unsigned short StartSeconds;
36 /** contains the start minutes (0-59) for the range.
38 unsigned short StartMinutes;
40 /** contains the start hour (0-23) for the range.
42 unsigned short StartHours;
44 /** contains the start day of month (1-31 or 0 for a void date) for the range.
46 unsigned short StartDay;
48 /** contains the start month of year (1-12 or 0 for a void date) for the range.
50 unsigned short StartMonth;
52 /** contains the start year for the range.
54 short StartYear;
56 /** contains the end nanoseconds (0 - 999 999 999) for the range.
58 unsigned long EndNanoSeconds;
60 /** contains the end seconds (0-59) for the range.
62 unsigned short EndSeconds;
64 /** contains the end minutes (0-59) for the range.
66 unsigned short EndMinutes;
68 /** contains the end hour (0-23) for the range.
70 unsigned short EndHours;
72 /** contains the end day of month (1-31 or 0 for a void date) for the range.
74 unsigned short EndDay;
76 /** contains the end month of year (1-12 or 0 for a void date) for the range.
78 unsigned short EndMonth;
80 /** contains the end year for the range.
82 short EndYear;
84 /** true: time zone is UTC false: unknown time zone.
86 @since LibreOffice 4.1
88 boolean IsUTC;
93 }; }; }; };
95 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */