Home | History | Annotate | Download | only in cookie

Lines Matching refs:dateValue

97      * @param dateValue the date value to parse
104 public static Date parseDate(String dateValue) throws DateParseException {
105 return parseDate(dateValue, null, null);
111 * @param dateValue the date value to parse
116 * @throws DateParseException if none of the dataFormats could parse the dateValue
118 public static Date parseDate(final String dateValue, String[] dateFormats)
120 return parseDate(dateValue, dateFormats, null);
126 * @param dateValue the date value to parse
135 * @throws DateParseException if none of the dataFormats could parse the dateValue
138 String dateValue,
143 if (dateValue == null) {
144 throw new IllegalArgumentException("dateValue is null");
154 if (dateValue.length() > 1
155 && dateValue.startsWith("'")
156 && dateValue.endsWith("'")
158 dateValue = dateValue.substring (1, dateValue.length() - 1);
166 return dateParser.parse(dateValue);
173 throw new DateParseException("Unable to parse the date " + dateValue);