Package org.pepstock.charba.client.intl.enums
Contains enumerations to use in order to configure the ECMAScript Internationalization API options.
- Author:
- Andrea "Stock" Stocchero
-
Enum Summary Enum Description Calendar Enumerates the calendar to manage the dates.CompactDisplay Enumerates the possible display when the formatting, that should be displayed for the number, is compact.
Takes either "short" (default) or "long".Currency Enumerates the standard codes for script identification which can be used to create and manage locale.CurrencyDisplay Enumerates the possible values how to display the currency in currency formatting.CurrencySign In many locales, accounting format means to wrap the number with parentheses instead of appending a minus sign.
You can enable this formatting you can use "accounting".
The default value is "standard".DateTimeStyle Enumerates the possible display when the formatting, that should be displayed for the date and/or the time.
The date formatting style to use when callingAbstractFormat.format(java.lang.Object)
.FormatMatcher The list of formats matching algorithm to use.
The following properties describe the date-time components to use in formatted output, and their desired representations.
Implementations are required to support at least the following subsets:
weekday, year, month, day, hour, minute, second weekday, year, month, day year, month, day year, month month, day hour, minute, second hour, minute Implementations may support other subsets, and requests will be negotiated against all available subset-representation combinations to find the best match.
Two algorithms are available for this negotiation and selected by theDateTimeFormatOptions.setFormatMatcher(org.pepstock.charba.client.intl.enums.FormatMatcher)
property.FormatPartType Enumerates the possible types of aFormatPart
can have.HourCycle Enumerates the possible values to use to set the hour cycle.LocaleMatcher The list of locales specified by the locales argument, after Unicode extensions have been removed from them, is interpreted as a prioritized request from the application.
The runtime compares it against the locales it has available and picks the best one available.
Two matching algorithms exist, "lookup" and "best fit".MeasureUnit Enumerated the untis of measure to configure the number formatting.
Possible values are core unit identifiers, defined here.
Pairs of simple units can be concatenated with "-per-" to make a compound unit.
There is no default value; if the style is "unit", the unit property must be provided.MeasureUnitDisplay Enumerated the options to set the unit formatting style to use in unit formatting.
The defaults is "short".MixedItemStyle Enumerates the possible value to set the representation of the month.Notation Enumerated the options in order to set the formatting that should be displayed for the number.
The defaults is "standard".NumberingSystem Enumerates the numbering system to manage the number formatting.
A numeral system is a system for expressing numbers.
The numbering system property helps to represent the different numeral systems used by various countries, regions, and cultures around the world.NumberItemStyle Enumerates the possible value to set the representation of the numeric item of a date (year, day, hour, minute, second).SignDisplay Enumerated the options in order to set when to display the sign for the number.
Defaults to "auto".StringItemStyle Enumerates the possible value to set the representation of the era, day periods, weekday.Style Enumerated the options in order to set the formatting style to use.
The default is "decimal".TimeZone Enumerates the time zones identifiers which can be used on dates management.
See IANA times zones for more details.TimeZoneName Enumerates the possible value to set the representation of the time zone name.