LibreOffice
LibreOffice 24.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 
21 module com { module sun { module star { module i18n {
22 
23 
24 
42 published constants CalendarFieldIndex
43 {
45  const short AM_PM = 0;
47  const short DAY_OF_MONTH = 1;
49  const short DAY_OF_WEEK = 2;
51  const short DAY_OF_YEAR = 3;
58  const short DST_OFFSET = 4;
60  const short HOUR = 5;
62  const short MINUTE = 6;
64  const short SECOND = 7;
66  const short MILLISECOND = 8;
68  const short WEEK_OF_MONTH = 9;
70  const short WEEK_OF_YEAR = 10;
72  const short YEAR = 11;
76  const short MONTH = 12;
78  const short ERA = 13;
80  const short ZONE_OFFSET = 14;
81 
83  const short FIELD_COUNT = 15;
84 
97  const short ZONE_OFFSET_SECOND_MILLIS = 15;
98 
111  const short DST_OFFSET_SECOND_MILLIS = 16;
112 
117  const short FIELD_COUNT2 = 17;
118 
119 };
120 
121 }; }; }; };
122 
123 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const short DAY_OF_WEEK
Get day of week [0-6].
Definition: CalendarFieldIndex.idl:49
const short MINUTE
Get/Set minute [0-59].
Definition: CalendarFieldIndex.idl:62
const short ZONE_OFFSET_SECOND_MILLIS
Get/Set additional offset in milliseconds that adds to the value of ZONE_OFFSET.
Definition: CalendarFieldIndex.idl:97
const short AM_PM
Get AmPmValue.
Definition: CalendarFieldIndex.idl:45
Definition: Ambiguous.idl:20
const short DAY_OF_YEAR
Get day of year.
Definition: CalendarFieldIndex.idl:51
const short MILLISECOND
Get/Set milliseconds [0-999].
Definition: CalendarFieldIndex.idl:66
const short DST_OFFSET_SECOND_MILLIS
Get additional offset in milliseconds that adds to the value of DST_OFFSET.
Definition: CalendarFieldIndex.idl:111
const short DST_OFFSET
Get daylight saving time offset in minutes, e.g.
Definition: CalendarFieldIndex.idl:58
const short SECOND
Get/Set second [0-59].
Definition: CalendarFieldIndex.idl:64
const short FIELD_COUNT2
Total number of fields as of OOo 3.1.
Definition: CalendarFieldIndex.idl:117
const short WEEK_OF_MONTH
Get week of month.
Definition: CalendarFieldIndex.idl:68
const short HOUR
Get/Set hour [0-23].
Definition: CalendarFieldIndex.idl:60
const short ZONE_OFFSET
Get/Set time zone offset in minutes, e.g. [-14*60..14*60].
Definition: CalendarFieldIndex.idl:80
const short DAY_OF_MONTH
Get/Set day of month [1-31].
Definition: CalendarFieldIndex.idl:47
const short WEEK_OF_YEAR
Get week of year.
Definition: CalendarFieldIndex.idl:70
const short ERA
Get/Set era, for example, 0:= Before Christ, 1:= After Christ.
Definition: CalendarFieldIndex.idl:78
const short YEAR
Get/Set year.
Definition: CalendarFieldIndex.idl:72
const short MONTH
Get/Set month [0-...].
Definition: CalendarFieldIndex.idl:76
const short FIELD_COUNT
Total number of fields for < OOo 3.1.
Definition: CalendarFieldIndex.idl:83