Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

:: com :: sun :: star :: i18n ::
struct Calendar
Description A calendar as returned in a sequence by XLocaleData::getAllCalendars() . See also XLocaleData for links to DTD of XML locale data files.

Elements' 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 .

Elements' Details
Days
sequence< CalendarItem > Days; Description the days of the week, see also CalendarItem .
Months
sequence< CalendarItem > Months; Description the months of the year, see also CalendarItem .
Eras
sequence< CalendarItem > Eras; Description the possible eras, see also CalendarItem .
StartOfWeek
string StartOfWeek; Description the ID of the day with which the week begins.
MinimumNumberOfDaysForFirstWeek
short MinimumNumberOfDaysForFirstWeek; Description how many days must reside in the first week of a year.
Default
boolean Default; Description if this is the default calendar for a given locale.
Name
string Name; Description the name of the calendar, for example, gregorian .

Top of Page

Copyright © 2003 Sun Microsystems, Inc.