Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: com :: sun :: star :: i18n ::
constants group KNumberFormatUsage
Description Category of number format code.

Constants
DATE | Date format, for example, "YYYY-MM-DD".
TIME | Time format, for example, "HH:MM:SS".
DATE_TIME | Mixed date/time format, for example, "YYYY-MM-DD HH:MM:SS".
FIXED_NUMBER | Numeric format, for example, "#,##0.00".
FRACTION_NUMBER | Fractional format, for example, "# ??/??".
PERCENT_NUMBER | Percent format, for example, "0.00%".
SCIENTIFIC_NUMBER | Scientific format, for example, "0.00E+00".
CURRENCY | Currency format, for example, "#,##0.00 [$EUR]"

Constants' Details
DATE
const short DATE = 1; Description Date format, for example, "YYYY-MM-DD".
TIME
const short TIME = 2; Description Time format, for example, "HH:MM:SS".
DATE_TIME
const short DATE_TIME = 3; Description Mixed date/time format, for example, "YYYY-MM-DD HH:MM:SS".
FIXED_NUMBER
const short FIXED_NUMBER = 4; Description Numeric format, for example, "#,##0.00".
FRACTION_NUMBER
const short FRACTION_NUMBER = 5; Description Fractional format, for example, "# ??/??".
PERCENT_NUMBER
const short PERCENT_NUMBER = 6; Description Percent format, for example, "0.00%".
SCIENTIFIC_NUMBER
const short SCIENTIFIC_NUMBER = 7; Description Scientific format, for example, "0.00E+00".
CURRENCY
const short CURRENCY = 8; Description Currency format, for example, "#,##0.00 [$EUR]"

Top of Page

Copyright © 2003 Sun Microsystems, Inc.