/** * Parse a string to a ValueTimestamp. This method supports the format * +/-year-month-day hour:minute:seconds.fractional and an optional timezone * part. * * @param s the string to parse * @return the date */ public static ValueTimestamp parse(String s) { try { return parseTry(s); } catch (Exception e) { throw DbException.get(ErrorCode.INVALID_DATETIME_CONSTANT_2, e, "TIMESTAMP", s); } }