/** * Parse a string to a ValueDate. * * @param s the string to parse * @return the date */ public static ValueDate parse(String s) { try { return fromDateValue(DateTimeUtils.parseDateValue(s, 0, s.length())); } catch (Exception e) { throw DbException.get(ErrorCode.INVALID_DATETIME_CONSTANT_2, e, "DATE", s); } }
timeStart = dateEnd + 1; long dateValue = DateTimeUtils.parseDateValue(s, 0, dateEnd); long nanos; if (timeStart < 0) {