Modifier and Type | Field and Description |
---|---|
static int |
ONE_ZERO
1/0
|
static int |
T_F
T/F
|
static int |
TRUE_FALSE
True/False
|
static int |
Y_N
Y/N
|
static int |
YES_NO
Yes/No
|
DATETIME, LOCALEDATETIME, LOCALENUMERIC, LOGICAL, NUMERIC
Constructor and Description |
---|
LogicalFormat(int format)
Create a LogicalFormat instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(java.lang.Object obj)
Define quadbase.util.IFormat.
|
int |
getformat()
Get current format.
|
int |
getFormatType()
Define quadbase.util.IFormat.
|
void |
setformat(int format)
Set logical format.
|
public static final int T_F
public static final int TRUE_FALSE
public static final int YES_NO
public static final int Y_N
public static final int ONE_ZERO
public LogicalFormat(int format)
format
- one of T_F, TRUE_FALSE, YES_NO, Y_N, ONE_ZEROpublic int getFormatType()
getFormatType
in interface IFormat
public java.lang.String format(java.lang.Object obj)
public int getformat()
return
- current formatpublic void setformat(int format)
format
- new format