src/org/ohmage/validator/DateValidators.java
public static Date validateISO8601Date(String date) 
			throws ValidationException {
		
		return validate(date, ISO8601_DATE_FORMAT);
	}
/**
	 * Most of the ohmage APIs require dates to be in ISO-8601 format. In
	 * layman's terms, this means that dates have increasing precision as
	 * read from left to right. In Java <tt>DateFormat</tt> parlance, this means 
	 * that the allowed dates must be of the form yyyy-MM-dd.
	 * 
	 *  @param date The date to check for ISO8601 conformance
	 *  @return Returns a Date representation of the provided String if the
	 *  provided String is parseable and non-null.
	 */
Most of the ohmage APIs require dates to be in ISO-8601 format. In
layman's terms, this means that dates have increasing precision as
read from left to right. In Java DateFormat parlance, this means
that the allowed dates must be of the form yyyy-MM-dd.

@param date The date to check for ISO8601 conformance
@return Returns a Date representation of the provided String if the
provided String is parseable and non-null.
Most of the ohmage APIs require dates to be in ISO - 8601 format . In layman ' s terms this means that dates have increasing precision as read from left to right . In Java DateFormat parlance this means that the allowed dates must be of the form yyyy - MM - dd . @param date The date to check for ISO8601 conformance @return Returns a Date representation of the provided String if the provided String is parseable and non - null .
public static Date validateISO8601Date(String date) 
			throws ValidationException {
		return validate(date, ISO8601_DATE_FORMAT);
	}
public static Date validateISO8601Date ( String date ) throws ValidationException { return validate ( date , ISO8601_DATE_FORMAT ) ; }
Most of the ohmage APIs require dates to be in ISO-8601 format.
Most of the ohmage APIs require dates to be in ISO - 8601 format .