struct Calendar in module com::sun::star::i18n::

(Global Index)

Syntax

struct Calendar;

Description

A calendar as loaded from locale data.

A sequence of Calendars is returned by calls to XLocaleData::getAllCalendars() .

Field Summary

Days the days of the week, see also CalendarItem .

Months the months of the year, see also CalendarItem .

Eras the possible eras, see also CalendarItem .

StartOfWeek the ID of the day with which the week begins.

MinimumNumberOfDaysForFirstWeek how many days must reside in the first week of a year.

Default if this is the default calendar for a given locale.

Name the name of the calendar, for example, gregorian .

Field Details



Days

Syntax

sequence< com::sun::star::i18n::CalendarItem > Days;

Description

the days of the week, see also CalendarItem .


Months

Syntax

sequence< com::sun::star::i18n::CalendarItem > Months;

Description

the months of the year, see also CalendarItem .


Eras

Syntax

sequence< com::sun::star::i18n::CalendarItem > Eras;

Description

the possible eras, see also CalendarItem .


StartOfWeek

Syntax

string StartOfWeek;

Description

the ID of the day with which the week begins.


MinimumNumberOfDaysForFirstWeek

Syntax

short MinimumNumberOfDaysForFirstWeek;

Description

how many days must reside in the first week of a year.


Default

Syntax

boolean Default;

Description

if this is the default calendar for a given locale.


Name

Syntax

string Name;

Description

the name of the calendar, for example, gregorian .

Top of Page