play.data.binding
Class DateBinder.AlternativeDateFormat
java.lang.Object
play.data.binding.DateBinder.AlternativeDateFormat
- Enclosing class:
- DateBinder
public static class DateBinder.AlternativeDateFormat
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateBinder.AlternativeDateFormat
public DateBinder.AlternativeDateFormat(Locale locale,
String... alternativeFormats)
setFormats
public void setFormats(String... alternativeFormats)
parse
public Date parse(String source)
throws ParseException
- Throws:
ParseException
getDefaultFormatter
public static DateBinder.AlternativeDateFormat getDefaultFormatter()
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly