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

翻訳前ページへ


Interface XCalendar
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XCalendar
Description
接近 to 地元の 明確な/細部 calendar systems.
Developers Guide
OfficeDev - 器具/実施するing a New 地元の - XCalendar
OfficeDev - Overview and Using the API - XCalendar

Methods' 要約
loadDefaultCalendar 負担 the default calendar for the given 地元の. 
loadCalendar 負担 a 明確な/細部 calendar for the given 地元の. 
getLoadedCalendar Get the 現在/一般に 負担d Calendar
getAllCalendars Returns all 利用できる calendars for the given 地元の. 
getUniqueID Returns the ID string of the 負担d calendar, for example, "gregorian"  
setDateTime 始める,決める the date/time as an 相殺する to the start of the calendar at 1-Jan-1970 00:00. The integer part 代表するs the number of days passed since start date. The わずかの part 代表するs fractions of a day, thus 0.5 means 12 hours.  
getDateTime Get the date/time as an 相殺する to the start of the calendar at 1-Jan-1970 00:00. The integer part 代表するs the number of days passed since start date. The わずかの part 代表するs fractions of a day, thus 0.5 means 12 hours.  
setValue 始める,決める the value of a field.  
getValue Get the value of a field.  
isValid 立証する if the date fields 始める,決める by a combination of XCalendar::setValue() calls is valid. It has a 味方する-影響 because it will internally calculate the final value for the date fields  
addValue 追加する an 量 to a field.  
getFirstDayOfWeek returns the first day of a week, one of Weekdays values.  
setFirstDayOfWeek 始める,決める the first day of a week, one of Weekdays values.  
setMinimumNumberOfDaysForFirstWeek 始める,決める how many days of a week must reside in the first week of a year.  
getMinimumNumberOfDaysForFirstWeek returns how many days of a week must reside in the first week of a year.  
getNumberOfMonthsInYear returns the number of months in a year, e.g. 12 
getNumberOfDaysInWeek returns the number of days in a week, e.g. 7 
getMonths returns a sequence of CalendarItem 述べるing the month 指名するs.  
getDays returns a sequence of CalendarItem 述べるing the day 指名するs.  
getDisplayName Returns a string (指名する to 陳列する,発揮する) matching the given parameters.  
Methods' 詳細(に述べる)s
loadDefaultCalendar
無効の
loadDefaultCalendar( [in] ::com::sun::星/主役にする::lang::地元の  rLocale );

Description
負担 the default calendar for the given 地元の.
loadCalendar
無効の
loadCalendar( [in] string  uniqueID,
[in] ::com::sun::星/主役にする::lang::地元の  rLocale );

Description
負担 a 明確な/細部 calendar for the given 地元の.
getLoadedCalendar
Calendar
getLoadedCalendar();

Description
Get the 現在/一般に 負担d Calendar.
getAllCalendars
sequence< string >
getAllCalendars( [in] ::com::sun::星/主役にする::lang::地元の  rLocale );

Description
Returns all 利用できる calendars for the given 地元の.
getUniqueID
string
getUniqueID();

Description
Returns the ID string of the 負担d calendar, for example, "gregorian"
setDateTime
無効の
setDateTime( [in] 二塁打  nTimeInDays );

Description
始める,決める the date/time as an 相殺する to the start of the calendar at 1-Jan-1970 00:00. The integer part 代表するs the number of days passed since start date. The わずかの part 代表するs fractions of a day, thus 0.5 means 12 hours.
getDateTime
二塁打
getDateTime();

Description
Get the date/time as an 相殺する to the start of the calendar at 1-Jan-1970 00:00. The integer part 代表するs the number of days passed since start date. The わずかの part 代表するs fractions of a day, thus 0.5 means 12 hours.
setValue
無効の
setValue( [in] short  nCalendarFieldIndex,
[in] short  nValue );

Description
始める,決める the value of a field.
Parameter nCalendarFieldIndex
One of CalendarFieldIndex values.
Parameter nValue
A value of the 許すd 範囲 for the field 索引.
getValue
short
getValue( [in] short  nCalendarFieldIndex );

Description
Get the value of a field.
Parameter nCalendarFieldIndex
One of CalendarFieldIndex values.
isValid
boolean
isValid();

Description
立証する if the date fields 始める,決める by a combination of XCalendar::setValue() calls is valid. It has a 味方する-影響 because it will internally calculate the final value for the date fields
addValue
無効の
addValue( [in] short  nCalendarFieldIndex,
[in] long  nAmount );

Description
追加する an 量 to a field.
Parameter nCalendarFieldIndex
One of CalendarFieldIndex values.
Parameter nAmount
The 量 to 追加する.
getFirstDayOfWeek
short
getFirstDayOfWeek();

Description
returns the first day of a week, one of Weekdays values.
setFirstDayOfWeek
無効の
setFirstDayOfWeek( [in] short  nDay );

Description
始める,決める the first day of a week, one of Weekdays values.
setMinimumNumberOfDaysForFirstWeek
無効の
setMinimumNumberOfDaysForFirstWeek( [in] short  nDays );

Description
始める,決める how many days of a week must reside in the first week of a year.
getMinimumNumberOfDaysForFirstWeek
short
getMinimumNumberOfDaysForFirstWeek();

Description
returns how many days of a week must reside in the first week of a year.
getNumberOfMonthsInYear
short
getNumberOfMonthsInYear();

Description
returns the number of months in a year, e.g. 12
getNumberOfDaysInWeek
short
getNumberOfDaysInWeek();

Description
returns the number of days in a week, e.g. 7
getMonths
sequence< CalendarItem >
getMonths();

Description
returns a sequence of CalendarItem 述べるing the month 指名するs.
getDays
sequence< CalendarItem >
getDays();

Description
returns a sequence of CalendarItem 述べるing the day 指名するs.
getDisplayName
string
getDisplayName( [in] short  nCalendarDisplayIndex,
[in] short  nIdx,
[in] short  nNameType );

Description
Returns a string (指名する to 陳列する,発揮する) matching the given parameters.
Parameter nCalendarDisplayIndex
One of CalendarDisplayIndex values
Parameter nIdx
A value matching the nCalendarDisplayIndex type:
CalendarDisplayIndex::AM_PM
one of AmPmValue
CalendarDisplayIndex::DAY
one of Weekdays or a number used as an 相殺する into the corresponding Calendar::Days sequence
CalendarDisplayIndex::MONTH
one of Months or a number used as an 相殺する into the corresponding Calendar::Months sequence
CalendarDisplayIndex::YEAR
not used, empty string returned
CalendarDisplayIndex::ERA
a number used as an 相殺する into the corresponding Calendar::ras sequence

The value should be 得るd by a previous call to XCalendar::getValue() with an appropriate CalendarFieldIndex argument.

Parameter nNameType
A value 示すing whether to return the abbreviated or the 十分な 指名する.
0
abbreviated 指名する, e.g. "Jan"
1
十分な 指名する, e.g. "January"

This parameter is not used if the nCalendarDisplayIndex argument equals CalendarDisplayIndex::AM_PM

最高の,を越す 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.