|
Predictions 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object DateConverterImpl
public final class DateConverterImpl
Implementation of DateConverter
, required by WEB4J.
This implementation includes date only, with no time.
Constructor Summary | |
---|---|
DateConverterImpl()
|
Method Summary | |
---|---|
String |
formatEyeFriendly(Date aDate,
Locale aLocale,
TimeZone aTimeZone)
Format a Date for the human eye. |
String |
formatEyeFriendlyDateTime(DateTime aDateTime,
Locale aLocale)
Format a DateTime for the human eye. |
Date |
parseEyeFriendly(String aInputValue,
Locale aLocale,
TimeZone aTimeZone)
Parse a Date entered in an eye-friendly style. |
DateTime |
parseEyeFriendlyDateTime(String aInputValue,
Locale aLocale)
Parse a DateTime entered in an eye-friendly style. |
Date |
parseHandFriendly(String aInputValue,
Locale aLocale,
TimeZone aTimeZone)
Parse a Date entered in a hand-friendly style. |
DateTime |
parseHandFriendlyDateTime(String aInputValue,
Locale aLocale)
Parse a DateTime entered in a hand-friendly style. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateConverterImpl()
Method Detail |
---|
public String formatEyeFriendlyDateTime(DateTime aDateTime, Locale aLocale)
DateTime
for the human eye.
Example return value, for January 31, 2006:
'2009/01/31'.
formatEyeFriendlyDateTime
in interface DateConverter
public DateTime parseEyeFriendlyDateTime(String aInputValue, Locale aLocale)
DateTime
entered in an eye-friendly style.
Example of the required input format, for January 31, 2006 :
'2006/01/31'
parseEyeFriendlyDateTime
in interface DateConverter
public DateTime parseHandFriendlyDateTime(String aInputValue, Locale aLocale)
DateTime
entered in a hand-friendly style.
Example of the required input format, for January 31, 2006 :
'20060131'.
parseHandFriendlyDateTime
in interface DateConverter
public String formatEyeFriendly(Date aDate, Locale aLocale, TimeZone aTimeZone)
Date
for the human eye.
Example return value, for January 31, 2006:
'2006/01/31'.
formatEyeFriendly
in interface DateConverter
public Date parseHandFriendly(String aInputValue, Locale aLocale, TimeZone aTimeZone)
Date
entered in a hand-friendly style.
Example of the required input format, for January 31, 2006:
'20060131'.
parseHandFriendly
in interface DateConverter
public Date parseEyeFriendly(String aInputValue, Locale aLocale, TimeZone aTimeZone)
Date
entered in an eye-friendly style.
Example of the required input format, for January 31, 2006 :
'2006/01/31'
parseEyeFriendly
in interface DateConverter
|
Predictions 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |