Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: com :: sun :: star :: util ::
constants group NumberFormat
Description contains constants that are used to specify the type of a number format.

Constants
ALL | selects all number formats.
DEFINED | selects only user-defined number formats.
DATE | selects date formats.
TIME | selects time formats.
CURRENCY | selects currency formats.
NUMBER | selects decimal number formats.
SCIENTIFIC | selects scientific number formats.
FRACTION | selects number formats for fractions.
PERCENT | selects percentage number formats.
TEXT | selects text number formats.
DATETIME | selects number formats which contain date and time.
LOGICAL | selects boolean number formats.
UNDEFINED | is used as a return value if no format exists.

Constants' Details
ALL
const short ALL = 0; Description selects all number formats.
DEFINED
const short DEFINED = 1; Description selects only user-defined number formats.
DATE
const short DATE = 2; Description selects date formats.
TIME
const short TIME = 4; Description selects time formats.
CURRENCY
const short CURRENCY = 8; Description selects currency formats.
NUMBER
const short NUMBER = 16; Description selects decimal number formats.
SCIENTIFIC
const short SCIENTIFIC = 32; Description selects scientific number formats.
FRACTION
const short FRACTION = 64; Description selects number formats for fractions.
PERCENT
const short PERCENT = 128; Description selects percentage number formats.
TEXT
const short TEXT = 256; Description selects text number formats.
DATETIME
const short DATETIME = 6; Description selects number formats which contain date and time.
LOGICAL
const short LOGICAL = 1024; Description selects boolean number formats.
UNDEFINED
const short UNDEFINED = 2048; Description is used as a return value if no format exists.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.