class DateTimes {

	public static LocalDate tryParseLocalDate(CharSequence text) {
		if(null == text || text.length() == 0){
			return null;
		}
		
		LocalDate d = tryParseLocalDate(text,DateTimeFormatter.ISO_LOCAL_DATE);
		if(d == null) {
			d = tryParseLocalDate(text, DateTimeFormatter.ISO_LOCAL_DATE_TIME);
			if(d == null) {
				Date ld = Dates.tryParse(text.toString(),DateFormats.DATETIME_FORMATTER);
				if(null != ld) {
					return toLocalDate(ld);
				}
			}
		}
		
		return d;
	}

	protected  DateTimes();

}