public static class Utils.AlternativeDateFormat
extends java.lang.Object
Constructor and Description |
---|
AlternativeDateFormat(java.util.Locale locale,
java.lang.String... alternativeFormats) |
Modifier and Type | Method and Description |
---|---|
static Utils.AlternativeDateFormat |
getDefaultFormatter() |
java.util.Date |
parse(java.lang.String source) |
void |
setFormats(java.lang.String... alternativeFormats) |
public AlternativeDateFormat(java.util.Locale locale, java.lang.String... alternativeFormats)
public void setFormats(java.lang.String... alternativeFormats)
public java.util.Date parse(java.lang.String source) throws java.text.ParseException
java.text.ParseException
public static Utils.AlternativeDateFormat getDefaultFormatter()
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly