com.trendrr.oss.casting
Class DateCaster

java.lang.Object
  extended by com.trendrr.oss.casting.TypeCaster<java.util.Date>
      extended by com.trendrr.oss.casting.DateCaster

public class DateCaster
extends TypeCaster<java.util.Date>

Author:
Dustin Norlander

Constructor Summary
DateCaster()
           
 
Method Summary
 java.util.Date doCast(java.lang.Class cls, java.lang.Object obj)
          should cast to the registered type.
 
Methods inherited from class com.trendrr.oss.casting.TypeCaster
cast, cast
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateCaster

public DateCaster()
Method Detail

doCast

public java.util.Date doCast(java.lang.Class cls,
                             java.lang.Object obj)
Description copied from class: TypeCaster
should cast to the registered type. if unable to cast then return null.

Returns: