public class NumberFormat
extends jxl.write.biff.NumberFormatRecord
implements jxl.biff.DisplayFormat
Modifier and Type | Field and Description |
---|---|
static jxl.write.biff.NumberFormatRecord.NonValidatingFormat |
COMPLEX_FORMAT
Pass in to the constructor to bypass the format validation
|
static java.lang.String |
CURRENCY_DOLLAR
Constant format string for the US Dollar sign
|
static java.lang.String |
CURRENCY_EURO_PREFIX
Constant format string for the Euro currency symbol where it precedes
the format
|
static java.lang.String |
CURRENCY_EURO_SUFFIX
Constant format string for the Euro currency symbol where it precedes
the format
|
static java.lang.String |
CURRENCY_JAPANESE_YEN
Constant format string for the Japanese Yen sign
|
static java.lang.String |
CURRENCY_POUND
Constant format string for the UK pound sign
|
static java.lang.String |
FRACTION_HALVES
Constant format string for fractions as halves
|
static java.lang.String |
FRACTION_HUNDREDTHS
Constant format string for fractions as hundredths
|
static java.lang.String |
FRACTION_QUARTERS
Constant format string for fractions as quarter
|
static java.lang.String |
FRACTION_SIXTEENTHS
Constant format string for fractions as sixteenths
|
static java.lang.String |
FRACTION_TENTHS
Constant format string for fractions as tenths
|
static java.lang.String |
FRACTION_THREE_DIGITS
Constant format string for three digit fractions
|
static java.lang.String |
FRACTIONS_EIGHTHS
Constant format string for fractions as eighths
|
Constructor and Description |
---|
NumberFormat(java.lang.String format)
Constructor, taking in the Java compliant number format
|
NumberFormat(java.lang.String format,
jxl.write.biff.NumberFormatRecord.NonValidatingFormat dummy)
Constructor, taking in the non-Java compliant number format.
|
equals, getData, getDateFormat, getFormatIndex, getFormatString, getIndexCode, getNumberFormat, hashCode, initialize, isBuiltIn, isDate, isInitialized, isNumber
public static final jxl.write.biff.NumberFormatRecord.NonValidatingFormat COMPLEX_FORMAT
public static final java.lang.String CURRENCY_EURO_PREFIX
public static final java.lang.String CURRENCY_EURO_SUFFIX
public static final java.lang.String CURRENCY_POUND
public static final java.lang.String CURRENCY_JAPANESE_YEN
public static final java.lang.String CURRENCY_DOLLAR
public static final java.lang.String FRACTION_THREE_DIGITS
public static final java.lang.String FRACTION_HALVES
public static final java.lang.String FRACTION_QUARTERS
public static final java.lang.String FRACTIONS_EIGHTHS
public static final java.lang.String FRACTION_SIXTEENTHS
public static final java.lang.String FRACTION_TENTHS
public static final java.lang.String FRACTION_HUNDREDTHS
public NumberFormat(java.lang.String format)
format
- the format stringpublic NumberFormat(java.lang.String format, jxl.write.biff.NumberFormatRecord.NonValidatingFormat dummy)
format
- the format stringdummy
- dummy parameter