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
- Description
- Get the 現在/一般に 負担d Calendar.
|
|
getAllCalendars
sequence< string > |
getAllCalendars( |
[in] ::com::sun::星/主役にする::lang::地元の |
rLocale ); |
- Description
- Returns all 利用できる calendars for the given 地元の.
|
|
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
- 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
- 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
- Description
- returns a sequence of CalendarItem 述べるing the
month 指名するs.
|
|
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
|
|
Copyright © 2013, The Apache ソフトウェア 創立/基礎, Licensed under the Apache License, 見解/翻訳/版 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache ソフトウェア 創立/基礎. Other 指名するs may be trademarks of their 各々の owners.