Fish & Chips Club 4.10.0.0

hirondelle.web4j.config
Class DateConverterImpl

Object
  extended by DateConverterImpl
All Implemented Interfaces:
DateConverter

public final class DateConverterImpl
extends Object
implements DateConverter

Implementation of DateConverter, required by WEB4J.

Dates are formatted in the style, using Jan 31, 2006 at 01:59 as an example:


Constructor Summary
DateConverterImpl()
           
 
Method Summary
 String formatEyeFriendly(Date aDate, Locale aLocale, TimeZone aTimeZone)
           
 String formatEyeFriendlyDateTime(DateTime aDateTime, Locale aLocale)
           
 Date parseEyeFriendly(String aInputValue, Locale aLocale, TimeZone aTimeZone)
           
 DateTime parseEyeFriendlyDateTime(String aInputValue, Locale aLocale)
           
 Date parseHandFriendly(String aInputValue, Locale aLocale, TimeZone aTimeZone)
           
 DateTime parseHandFriendlyDateTime(String aInputValue, Locale aLocale)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateConverterImpl

public DateConverterImpl()
Method Detail

formatEyeFriendlyDateTime

public String formatEyeFriendlyDateTime(DateTime aDateTime,
                                        Locale aLocale)
Specified by:
formatEyeFriendlyDateTime in interface DateConverter

parseEyeFriendlyDateTime

public DateTime parseEyeFriendlyDateTime(String aInputValue,
                                         Locale aLocale)
Specified by:
parseEyeFriendlyDateTime in interface DateConverter

parseHandFriendlyDateTime

public DateTime parseHandFriendlyDateTime(String aInputValue,
                                          Locale aLocale)
Specified by:
parseHandFriendlyDateTime in interface DateConverter

formatEyeFriendly

public String formatEyeFriendly(Date aDate,
                                Locale aLocale,
                                TimeZone aTimeZone)
Specified by:
formatEyeFriendly in interface DateConverter

parseHandFriendly

public Date parseHandFriendly(String aInputValue,
                              Locale aLocale,
                              TimeZone aTimeZone)
Specified by:
parseHandFriendly in interface DateConverter

parseEyeFriendly

public Date parseEyeFriendly(String aInputValue,
                             Locale aLocale,
                             TimeZone aTimeZone)
Specified by:
parseEyeFriendly in interface DateConverter

Fish & Chips Club 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26