public class DateTimeKeySerializer extends DateKeySerializer
| Constructor and Description |
|---|
DateTimeKeySerializer() |
DateTimeKeySerializer(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected DateFormat |
getDateFormat()
Get the date format instance.
|
int |
getTimeStyle()
Get the time style.
|
void |
setTimeStyle(int timeStyle)
Set the time style.
|
void |
setTimeStyle(String styleName)
Set the name of the style for use by
DateFormat.getDateTimeInstance(int, int) |
getDateStyle, serialize, setDateStyle, setDateStylegetKey, getLabel, getName, getWidth, setKey, setLabel, setName, setWidth, toStringclearProperties, close, getProperties, getProperty, getProperty, removeProperty, setProperties, setProperty, setPropertySoft, setPropertyWeakclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearProperties, getProperties, getProperty, getProperty, removeProperty, setProperties, setProperty, setPropertySoft, setPropertyWeakpublic DateTimeKeySerializer()
public DateTimeKeySerializer(String name)
protected DateFormat getDateFormat()
getDateFormat in class DateKeySerializerpublic int getTimeStyle()
public void setTimeStyle(int timeStyle)
timeStyle - The time style.public void setTimeStyle(String styleName)
DateFormat.getDateTimeInstance(int, int)styleName - The name of the date format style;Copyright © 2015 Revolution Systems Inc.. All rights reserved.