package br.com.MDSGPP.ChamadaParlamentar.util;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;


public final class VerificarData {

	public static boolean verificaData(String data) {
		SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/YYYY");
		sdf.setLenient(false);

		try {
			Date greg = sdf.parse(data);
		} catch (ParseException e) {
			return false;
		}	
		return true;
	}
}

@@ -168,16 +168,243 @@
 arData %7B
+%0A%09%0A%09/**%0A%09 * This method is to validate a date, if it's not in the in the format it%0A%09 * should be, it returns false, otherwise it returns true.%0A%09 * %0A%09 * @param data%0A%09 * @return false if give parse error in, and true if not.%0A%09 */
 %0A%0A%09publi

Comment the method of class VerificarData