LibreOffice
LibreOffice 6.2 SDK API Reference
CalendarFieldIndex.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 #ifndef __com_sun_star_i18n_CalendarFieldIndex_idl__
21 #define __com_sun_star_i18n_CalendarFieldIndex_idl__
22 
23 
24 module com { module sun { module star { module i18n {
25 
26 
27 
45 published constants CalendarFieldIndex
46 {
48  const short AM_PM = 0;
50  const short DAY_OF_MONTH = 1;
52  const short DAY_OF_WEEK = 2;
54  const short DAY_OF_YEAR = 3;
61  const short DST_OFFSET = 4;
63  const short HOUR = 5;
65  const short MINUTE = 6;
67  const short SECOND = 7;
69  const short MILLISECOND = 8;
71  const short WEEK_OF_MONTH = 9;
73  const short WEEK_OF_YEAR = 10;
75  const short YEAR = 11;
79  const short MONTH = 12;
81  const short ERA = 13;
83  const short ZONE_OFFSET = 14;
84 
86  const short FIELD_COUNT = 15;
87 
100  const short ZONE_OFFSET_SECOND_MILLIS = 15;
101 
114  const short DST_OFFSET_SECOND_MILLIS = 16;
115 
120  const short FIELD_COUNT2 = 17;
121 
122 };
123 
124 }; }; }; };
125 
126 #endif
127 
128 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const short DAY_OF_WEEK
Get day of week [0-6].
Definition: CalendarFieldIndex.idl:52
const short MINUTE
Get/Set minute [0-59].
Definition: CalendarFieldIndex.idl:65
const short ZONE_OFFSET_SECOND_MILLIS
Get/Set additional offset in milliseconds that adds to the value of ZONE_OFFSET.
Definition: CalendarFieldIndex.idl:100
const short AM_PM
Get AmPmValue.
Definition: CalendarFieldIndex.idl:48
Definition: Ambiguous.idl:22
const short DAY_OF_YEAR
Get day of year.
Definition: CalendarFieldIndex.idl:54
const short MILLISECOND
Get/Set milliseconds [0-999].
Definition: CalendarFieldIndex.idl:69
const short DST_OFFSET_SECOND_MILLIS
Get additional offset in milliseconds that adds to the value of DST_OFFSET.
Definition: CalendarFieldIndex.idl:114
const short DST_OFFSET
Get daylight saving time offset in minutes, e.g.
Definition: CalendarFieldIndex.idl:61
const short SECOND
Get/Set second [0-59].
Definition: CalendarFieldIndex.idl:67
const short FIELD_COUNT2
Total number of fields as of OOo 3.1.
Definition: CalendarFieldIndex.idl:120
const short WEEK_OF_MONTH
Get week of month.
Definition: CalendarFieldIndex.idl:71
const short HOUR
Get/Set hour [0-23].
Definition: CalendarFieldIndex.idl:63
const short ZONE_OFFSET
Get/Set time zone offset in minutes, e.g. [-14*60..14*60].
Definition: CalendarFieldIndex.idl:83
const short DAY_OF_MONTH
Get/Set day of month [1-31].
Definition: CalendarFieldIndex.idl:50
const short WEEK_OF_YEAR
Get week of year.
Definition: CalendarFieldIndex.idl:73
const short ERA
Get/Set era, for example, 0:= Before Christ, 1:= After Christ.
Definition: CalendarFieldIndex.idl:81
const short YEAR
Get/Set year.
Definition: CalendarFieldIndex.idl:75
const short MONTH
Get/Set month [0-...].
Definition: CalendarFieldIndex.idl:79
const short FIELD_COUNT
Total number of fields for < OOo 3.1.
Definition: CalendarFieldIndex.idl:86