|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.convert.DateTimeConverter
org.apache.myfaces.custom.convertDateTime.DateTimeConverter
public class DateTimeConverter
Simple convert that overrides the spec DateTimeConverter and uses TimeZone.getDefault() as the base timezone, rather than GMT. Convert date time using normal system timezone like it should
Field Summary | |
---|---|
static java.lang.String |
CONVERTER_ID
|
Constructor Summary | |
---|---|
DateTimeConverter()
|
Method Summary | |
---|---|
java.lang.String |
getDateStyle()
longDesc = "default|short|medium|long|full" |
java.util.Locale |
getLocale()
longDesc = "locale" |
java.lang.String |
getPattern()
Custom formatting pattern |
java.lang.String |
getTimeStyle()
default|short|medium|long|full |
java.util.TimeZone |
getTimeZone()
timeZome |
java.lang.String |
getType()
date|time|both |
Methods inherited from class javax.faces.convert.DateTimeConverter |
---|
getAsObject, getAsString, isTransient, restoreState, saveState, setDateStyle, setLocale, setPattern, setTimeStyle, setTimeZone, setTransient, setType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CONVERTER_ID
Constructor Detail |
---|
public DateTimeConverter()
Method Detail |
---|
public java.lang.String getDateStyle()
getDateStyle
in class javax.faces.convert.DateTimeConverter
public java.util.Locale getLocale()
getLocale
in class javax.faces.convert.DateTimeConverter
public java.lang.String getPattern()
getPattern
in class javax.faces.convert.DateTimeConverter
public java.lang.String getTimeStyle()
getTimeStyle
in class javax.faces.convert.DateTimeConverter
public java.util.TimeZone getTimeZone()
getTimeZone
in class javax.faces.convert.DateTimeConverter
public java.lang.String getType()
getType
in class javax.faces.convert.DateTimeConverter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |