public class MaxTypeTIME extends MaxTypeDATE
Constructor and Description |
---|
MaxTypeTIME(java.util.Locale locale)
Construct null value of specified type
|
Modifier and Type | Method and Description |
---|---|
java.util.Date |
asDate()
Return as a Date object Returns null if value is null.
|
java.lang.String |
asLocaleString(java.util.Locale l)
Return as a locale sensitive string using the specified TimeZone and
Locale Returns "" if value is null.
|
java.lang.Object |
clone()
Clone the object.
|
int |
getType()
Get the current type
|
void |
setValue(java.util.Date value)
Set the value to the specified value.
|
void |
setValue(java.lang.String value)
Set the value to the specified value.
|
asLocaleString, asLocaleString, asString, equals, setValue
asBoolean, asBytes, asDouble, asFloat, asInt, asLong, createMaxType, createMaxType, getMaxLength, getScale, isNull, overrideStringData, setAftercheckLengthAndScale, setMaxLength, setScale, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, toString
public MaxTypeTIME(java.util.Locale locale)
public int getType()
getType
in class MaxTypeDATE
public void setValue(java.lang.String value) throws MXException
setValue
in class MaxTypeDATE
MXException
public java.lang.String asLocaleString(java.util.Locale l)
asLocaleString
in class MaxTypeDATE
public java.util.Date asDate() throws MXException
asDate
in class MaxTypeDATE
MXException
public void setValue(java.util.Date value) throws MXException
setValue
in class MaxTypeDATE
MXException
public java.lang.Object clone()
clone
in class MaxTypeDATE