|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.TypeLiteral<T>
org.nnsoft.guice.rocoto.converters.AbstractConverter<Date>
org.nnsoft.guice.rocoto.converters.DateConverter
public final class DateConverter
Converter implementation for java.util.Calendar and java.util.Date.
| Constructor Summary | |
|---|---|
DateConverter()
|
|
| Method Summary | |
|---|---|
void |
addPattern(String pattern)
|
Object |
convert(String value,
com.google.inject.TypeLiteral<?> toType)
|
void |
setLocale(Locale locale)
|
void |
setTimeZone(TimeZone timeZone)
|
| Methods inherited from class org.nnsoft.guice.rocoto.converters.AbstractConverter |
|---|
configure |
| Methods inherited from class com.google.inject.TypeLiteral |
|---|
equals, get, get, getExceptionTypes, getFieldType, getParameterTypes, getRawType, getReturnType, getSupertype, getType, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DateConverter()
| Method Detail |
|---|
public void setLocale(Locale locale)
public void setTimeZone(TimeZone timeZone)
public void addPattern(String pattern)
public Object convert(String value,
com.google.inject.TypeLiteral<?> toType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||