play.data.binding.types
Class DateBinder

java.lang.Object
  extended by play.data.binding.types.DateBinder
All Implemented Interfaces:
TypeBinder<java.util.Date>

public class DateBinder
extends java.lang.Object
implements TypeBinder<java.util.Date>

Binder that support Date class.


Field Summary
static java.lang.String ISO8601
           
 
Constructor Summary
DateBinder()
           
 
Method Summary
 java.util.Date bind(java.lang.String name, java.lang.annotation.Annotation[] annotations, java.lang.String value, java.lang.Class actualClass, java.lang.reflect.Type genericType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ISO8601

public static final java.lang.String ISO8601
See Also:
Constant Field Values
Constructor Detail

DateBinder

public DateBinder()
Method Detail

bind

public java.util.Date bind(java.lang.String name,
                           java.lang.annotation.Annotation[] annotations,
                           java.lang.String value,
                           java.lang.Class actualClass,
                           java.lang.reflect.Type genericType)
                    throws java.lang.Exception
Specified by:
bind in interface TypeBinder<java.util.Date>
Throws:
java.lang.Exception


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly