このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Constants' Group CalendarFieldIndex
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: i18n ::

constants group CalendarFieldIndex
Description
Field indices to be passed to さまざまな XCalendar methods.

Field is writable only if 示すd both Get/始める,決める.

ZONE_OFFSET and DST_OFFSET 協力する such that both values are 追加するd, for example, ZoneOffset=1*60 and DstOffset=1*60 results in a time difference of GMT+2. The 計算/見積り in minutes is GMT = LocalTime - ZoneOffset - DstOffset

With introduction of ZONE_OFFSET_SECOND_MILLIS and DST_OFFSET_SECOND_MILLIS the exact 計算/見積り in milliseconds is GMT = LocalTime - (ZoneOffset*60000 + ZoneOffsetMillis * 調印する(ZoneOffset)) - (DstOffset*60000 + DstOffsetMillis * 調印する(DstOffset))


Constants
AM_PM Get AmPmValue
DAY_OF_MONTH Get/始める,決める day of month [1-31]. 
DAY_OF_WEEK Get day of week [0-6]. 
DAY_OF_YEAR Get day of year. 
DST_OFFSET Get daylight saving time 相殺する in minutes, e.g. [0*60..1*60]  
HOUR Get/始める,決める hour [0-23]. 
MINUTE Get/始める,決める minute [0-59]. 
SECOND Get/始める,決める second [0-59]. 
MILLISECOND Get/始める,決める milliseconds [0-999]. 
WEEK_OF_MONTH Get week of month. 
WEEK_OF_YEAR Get week of year. 
YEAR Get/始める,決める year. 
MONTH Get/始める,決める month [0-...].  
ERA Get/始める,決める 時代, for example, 0:= Before Christ, 1:= After Christ. 
ZONE_OFFSET Get/始める,決める time zone 相殺する in minutes, e.g. [-14*60..14*60] 
FIELD_COUNT Total number of fields for < OOo 3.1 
ZONE_OFFSET_SECOND_MILLIS Get/始める,決める 付加 相殺する in milliseconds that 追加するs to the value of ZONE_OFFSET. This may be necessary to 正確に 解釈する/通訳する historical timezone data that consists of fractions of minutes, e.g. seconds. 1 minute == 60000 milliseconds. @ATTENTION! Though the field's type is 調印するd 16-bit, the field value is 扱う/治療するd as unsigned 16-bit to 許す for values up to 60000 and 表明するs an 絶対の value that 相続するs its 調印する from the parent ZONE_OFFSET field.  
DST_OFFSET_SECOND_MILLIS Get 付加 相殺する in milliseconds that 追加するs to the value of DST_OFFSET. This may be necessary to 正確に 解釈する/通訳する historical timezone data that consists of fractions of minutes, e.g. seconds. 1 minute == 60000 milliseconds. @ATTENTION! Though the field's type is 調印するd 16-bit, the field value is 扱う/治療するd as unsigned 16-bit to 許す for values up to 60000 and 表明するs an 絶対の value that 相続するs its 調印する from the parent DST_OFFSET field.  
FIELD_COUNT2 Total number of fields as of OOo 3.1  
Constants' 詳細(に述べる)s
AM_PM
const short AM_PM = 0;
Description
Get AmPmValue.
DAY_OF_MONTH
const short DAY_OF_MONTH = 1;
Description
Get/始める,決める day of month [1-31].
DAY_OF_WEEK
const short DAY_OF_WEEK = 2;
Description
Get day of week [0-6].
DAY_OF_YEAR
const short DAY_OF_YEAR = 3;
Description
Get day of year.
DST_OFFSET
const short DST_OFFSET = 4;
Description
Get daylight saving time 相殺する in minutes, e.g. [0*60..1*60]

The DST 相殺する value depends on the actual date 始める,決める at the calendar and is 決定するd によれば the timezone 支配するs of the 地元の used with the calendar.

公式文書,認める that there is a bug in OpenOffice.org 1.0 / StarOffice 6.0 that 妨げるs 解釈する/通訳するing this value 正確に.

HOUR
const short HOUR = 5;
Description
Get/始める,決める hour [0-23].
MINUTE
const short MINUTE = 6;
Description
Get/始める,決める minute [0-59].
SECOND
const short SECOND = 7;
Description
Get/始める,決める second [0-59].
MILLISECOND
const short MILLISECOND = 8;
Description
Get/始める,決める milliseconds [0-999].
WEEK_OF_MONTH
const short WEEK_OF_MONTH = 9;
Description
Get week of month.
WEEK_OF_YEAR
const short WEEK_OF_YEAR = 10;
Description
Get week of year.
YEAR
const short YEAR = 11;
Description
Get/始める,決める year.
MONTH
const short MONTH = 12;
Description
Get/始める,決める month [0-...].

公式文書,認める that the 最大限 value is not やむを得ず 11 for December but depends on the calendar used instead.

ERA
const short ERA = 13;
Description
Get/始める,決める 時代, for example, 0:= Before Christ, 1:= After Christ.
ZONE_OFFSET
const short ZONE_OFFSET = 14;
Description
Get/始める,決める time zone 相殺する in minutes, e.g. [-14*60..14*60]
FIELD_COUNT
const short FIELD_COUNT = 15;
Description
Total number of fields for < OOo 3.1
ZONE_OFFSET_SECOND_MILLIS
const short ZONE_OFFSET_SECOND_MILLIS = 15;
Description
Get/始める,決める 付加 相殺する in milliseconds that 追加するs to the value of ZONE_OFFSET. This may be necessary to 正確に 解釈する/通訳する historical timezone data that consists of fractions of minutes, e.g. seconds. 1 minute == 60000 milliseconds. @ATTENTION! Though the field's type is 調印するd 16-bit, the field value is 扱う/治療するd as unsigned 16-bit to 許す for values up to 60000 and 表明するs an 絶対の value that 相続するs its 調印する from the parent ZONE_OFFSET field.
Since
OOo 3.1
DST_OFFSET_SECOND_MILLIS
const short DST_OFFSET_SECOND_MILLIS = 16;
Description
Get 付加 相殺する in milliseconds that 追加するs to the value of DST_OFFSET. This may be necessary to 正確に 解釈する/通訳する historical timezone data that consists of fractions of minutes, e.g. seconds. 1 minute == 60000 milliseconds. @ATTENTION! Though the field's type is 調印するd 16-bit, the field value is 扱う/治療するd as unsigned 16-bit to 許す for values up to 60000 and 表明するs an 絶対の value that 相続するs its 調印する from the parent DST_OFFSET field.
Since
OOo 3.1
FIELD_COUNT2
const short FIELD_COUNT2 = 17;
Description
Total number of fields as of OOo 3.1
Since
OOo 3.1
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.