org.ubercraft.sucre.coercer
Class DateCoercer

java.lang.Object
  extended by org.ubercraft.sucre.coercer.DateCoercer
All Implemented Interfaces:
Coercer

public class DateCoercer
extends Object
implements Coercer


Constructor Summary
DateCoercer(TimeZone timezone, String... dateFormatStrings)
           
 
Method Summary
 Date coerce(Object value, Class<?> type, boolean strict)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateCoercer

public DateCoercer(TimeZone timezone,
                   String... dateFormatStrings)
Method Detail

coerce

public Date coerce(Object value,
                   Class<?> type,
                   boolean strict)
Specified by:
coerce in interface Coercer


Copyright © 2013. All Rights Reserved.