public static LocalDate parse ( String date ) { if ( StringUtils . isEmpty ( date ) ) return null ; try { return parse_ ( date ) ; } catch ( DateTimeParseException x ) { return InvalidValues . createInvalidLocalDate ( date ) ; } }
Tries to be a little bit more clever than the normal parsing . Accept dates like 1 . 2 . 2013 or 010214