public final class BuiltinFormats extends Object
Modifier and Type | Field and Description |
---|---|
static int |
FIRST_USER_DEFINED_FORMAT_INDEX
The first user-defined format starts at 164.
|
Constructor and Description |
---|
BuiltinFormats() |
Modifier and Type | Method and Description |
---|---|
static String[] |
getAll() |
static String |
getBuiltinFormat(int index)
Get the format string that matches the given format index
|
static String |
getBuiltinFormat(int index,
Locale locale) |
static int |
getBuiltinFormat(String pFmt)
Get the format index that matches the given format string
Automatically converts "text" to excel's format string to represent text.
|
static Map<Integer,String> |
getBuiltinFormats()
Deprecated.
(May 2009) use
getAll() |
public static final int FIRST_USER_DEFINED_FORMAT_INDEX
public static Map<Integer,String> getBuiltinFormats()
getAll()
public static String[] getAll()
public static String getBuiltinFormat(int index)
index
- of a built in formatnull
if there is not a built-in format at that indexpublic static int getBuiltinFormat(String pFmt)
pFmt
- string matching a built-in formatCopyright © 2020. All rights reserved.