Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

:: com :: sun :: star :: i18n ::
struct FormatElement
Description One number format code and its attributes, returned in a sequence by XLocaleData::getAllFormats() . Contains raw data defined in the XML locale data files. See also XLocaleData for links to DTD of XML locale data files.

Elements' Summary
formatCode | The format code, for example, "YYYY-MM-DD".
formatName | A name or description that is displayed in the number formatter dialog.
formatKey | A unique (within one locale) identifier.
formatType | Type may be one of "short", "medium", "long".
formatUsage | Usage category, for example, "DATE" or "FIXED_NUMBER", corresponding with KNumberFormatUsage values.
formatIndex | The index used by the number formatter, predefined values corresponding with NumberFormatIndex values.
isDefault | If a format code is the default code of a formatType group.

Elements' Details
formatCode
string formatCode; Description The format code, for example, "YYYY-MM-DD".
formatName
string formatName; Description A name or description that is displayed in the number formatter dialog.
formatKey
string formatKey; Description A unique (within one locale) identifier.
formatType
string formatType; Description Type may be one of "short", "medium", "long".
formatUsage
string formatUsage; Description Usage category, for example, "DATE" or "FIXED_NUMBER", corresponding with KNumberFormatUsage values.
formatIndex
short formatIndex; Description The index used by the number formatter, predefined values corresponding with NumberFormatIndex values.
isDefault
boolean isDefault; Description If a format code is the default code of a formatType group.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.