class DateTimes {

	public static LocalDateTime tryParseLocalDateTime(CharSequence text) {
		if(null == text || text.length() == 0){
			return null;
		}

		LocalDateTime dt = tryParseLocalDateTime(text, DateTimeFormatter.ISO_LOCAL_DATE_TIME);
		if(dt == null) {
			String s = text.toString();
			
			Date d = Dates.tryParse(s,DateFormats.DATETIME_FORMATTER);
			if(null != d){
				return toLocalDateTime(d);
			}

			d = Dates.tryParse(s,DateFormats.DATE_FORMATTER);
			if(null != d){
				return toLocalDateTime(d);
			}
		}
		return dt;
	}

	protected  DateTimes();

}