* Is there a real equivalent in Dutch? "Voormiddag"/"Namiddag"?
* Just using the Latin names for now.
*/
private static final String[] ampms = { "AM", "PM" };
/**
* This is the list of era identifiers
*
* Is there a real equivalent in Dutch? "voor Christus"/"na Christus"?
* Just use the Latin/English names for now.
*/
private static final String[] eras = { "BC", "AD" };
/**
* This is the list of timezone strings. The JDK appears to include a
* city name as the sixth element.
* XXX - TODO - FIXME - Which timezones should be included here and how are
* they called?
*/
private static final String[][] zoneStrings =
{
// European time zones. The city names are a little bit random.
{ "WET", "West Europese Tijd", "WET", "West Europese Zomertijd", "WEST", "London" },
{ "CET", "Centraal Europese Tijd", "CET", "Centraal Europese Zomertijd", "CEST", "Amsterdam" },
{ "EET", "Oost Europese Tijd", "EET", "Oost Europese Zomertijd", "EEST", "Istanbul" },
};
/**
* This is the list of pattern characters for formatting dates
*
* This is the same as the English locale uses: era (G), year (y), month (M),
* month (d), hour from 1-12 (h), hour 0-23 (H), minute (m), second (s),
* millisecond (S), date of week (E), date of year (D),
* day of week in month (F), week in year (w), week in month (W), am/pm (a),
* hour from 1-24 (k), hour from 0-11 (K), time zone (z).
* Why would you use others?
*/
private static final String localPatternChars = "GyMdhHmsSEDFwWakKz"; // Not a mistake!
/**
* This is the DateFormat.SHORT date format
*/
private static final String shortDateFormat = "dd-MM-yy";
/**
* This is the DateFormat.MEDIUM format
*/
private static final String mediumDateFormat = "dd-MMM-yy";
/**
* This is the DateFormat.LONG format
*/
private static final String longDateFormat = "dd MMMM yyyy";
/**
* This is the DateFormat.FULL format
*/
private static final String fullDateFormat = "EEEE dd MMMM yyyy";
/**
* This is the DateFormat.DEFAULT format
*/
private static final String defaultDateFormat = mediumDateFormat;
/**
* This is the TimeFormat.SHORT format
*/
private static final String shortTimeFormat = "HH:mm";
/**
* This is the TimeFormat.MEDIUM format
*/
private static final String mediumTimeFormat = "HH:mm:ss";
/**
* This is the TimeFormat.LONG format
*/
private static final String longTimeFormat = "HH:mm:ss";
/**
* This is the TimeFormat.FULL format
*/
private static final String fullTimeFormat = "HH:mm:ss z";
/**
* This is the TimeFormat.DEFAULT format
*/
private static final String defaultTimeFormat = shortTimeFormat;
/**
* This is the currency symbol
*/
private static final String currencySymbol = "fl";
/**
* This is the international currency symbol.
*/
private static final String intlCurrencySymbol = "NLG";
/**
* This is the decimal point.
*/
private static final String decimalSeparator = ",";
/**
* This is the exponential symbol
*/
private static final String exponential = "E";
/**
* This is the char used for digits in format strings
*/
private static final String digit = "#";
/**
* This is the grouping separator symbols
*/
private static final String groupingSeparator = ",";
/**
* This is the symbols for infinity
*/
private static final String infinity = "\u221e";
/**
* This is the symbol for the not a number value
*/
private static final String NaN = "\ufffd";
/**
* This is the minus sign symbol.
*/
private static final String minusSign = "-";
/**
* This is the decimal separator in monetary values.
*/
private static final String monetarySeparator = ",";
/**
* This is the separator between positive and negative subpatterns.
*/
private static final String patternSeparator = ";";
/**
* This is the percent sign
*/
private static final String percent = "%";
/**
* This is the per mille sign
*/
private static final String perMill = "\u2030";
/**
* This is the character for zero.
*/
private static final String zeroDigit = "0";
/*************************************************************************/
/**
* This is the object array used to hold the keys and values
* for this bundle
*/
private static final Object[][] contents =
{
// For RuleBasedCollator
{ "collation_rules", collation_rules },
// For SimpleDateFormat/DateFormatSymbols
{ "months", months },
{ "shortMonths", shortMonths },
{ "weekdays", weekdays },
{ "shortWeekdays", shortWeekdays },
{ "ampms", ampms },
{ "eras", eras },
{ "zoneStrings", zoneStrings },
{ "localPatternChars", localPatternChars },
{ "shortDateFormat", shortDateFormat },
{ "mediumDateFormat", mediumDateFormat },
{ "longDateFormat", longDateFormat },
{ "fullDateFormat", fullDateFormat },
{ "defaultDateFormat", defaultDateFormat },
{ "shortTimeFormat", shortTimeFormat },
{ "mediumTimeFormat", mediumTimeFormat },
{ "longTimeFormat", longTimeFormat },
{ "fullTimeFormat", fullTimeFormat },
{ "defaultTimeFormat", defaultTimeFormat },
// For DecimalFormat/DecimalFormatSymbols
{ "currencySymbol", currencySymbol },
{ "intlCurrencySymbol", intlCurrencySymbol },
{ "decimalSeparator", decimalSeparator },
{ "digit", digit },
{ "exponential", exponential },
{ "groupingSeparator", groupingSeparator },
{ "infinity", infinity },
{ "NaN", NaN },
{ "minusSign", minusSign },
{ "monetarySeparator", monetarySeparator },
{ "patternSeparator", patternSeparator },
{ "percent", percent },
{ "perMill", perMill },
{ "zeroDigit", zeroDigit },
};
/*************************************************************************/
/**
* This method returns the object array of key, value pairs containing
* the data for this bundle.
*
* @return The key, value information.
*/
public Object[][]
getContents()
{
return(contents);
}
} // class LocaleInformation_nl