// Path: src/java/main/br/ufpe/cin/groundhog/util/Dates.java
// public class Dates {
// 
// 	private SimpleDateFormat simpleDateFormat;
// 
// 	public Dates() {
// 		simpleDateFormat = new SimpleDateFormat();
// 	}
// 
// 	public Dates(String pattern) {
// 		simpleDateFormat = new SimpleDateFormat(pattern);
// 	}
// 
// 	public String format(Date date) {
// 		return simpleDateFormat.format(date);
// 	}
// 
// 	public Date format(String date) {
// 		try {
// 			return simpleDateFormat.parse(date);
// 		} catch (ParseException e) {
// 			e.printStackTrace();
// 			return null;
// 		}
// 	}
// }


import java.util.Date;
import br.ufpe.cin.groundhog.util.Dates;
import com.google.gson.annotations.SerializedName;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Id;
import org.mongodb.morphia.annotations.Indexed;
import org.mongodb.morphia.annotations.Reference;
	 */
	public String getMessage() {
		return this.message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	/**
	 * Informs the project to which the commit belongs
	 * @return a {@link Project} object
	 */
	public Project getProject() {
		return this.project;
	}

	public void setProject(Project project) {
		this.project = project;
	}

	/**
	 * Informs the date when the commit was done 
	 * @return a {@link Date} object
	 */
	public Date getCommitDate() {
		return this.commitDate;
	}

	public void setCommitDate(String date) {
// Path: src/java/main/br/ufpe/cin/groundhog/util/Dates.java
// public class Dates {
// 
// 	private SimpleDateFormat simpleDateFormat;
// 
// 	public Dates() {
// 		simpleDateFormat = new SimpleDateFormat();
// 	}
// 
// 	public Dates(String pattern) {
// 		simpleDateFormat = new SimpleDateFormat(pattern);
// 	}
// 
// 	public String format(Date date) {
// 		return simpleDateFormat.format(date);
// 	}
// 
// 	public Date format(String date) {
// 		try {
// 			return simpleDateFormat.parse(date);
// 		} catch (ParseException e) {
// 			e.printStackTrace();
// 			return null;
// 		}
// 	}
// }


// Path: src/java/main/br/ufpe/cin/groundhog/Commit.java
import java.util.Date;
import br.ufpe.cin.groundhog.util.Dates;
import com.google.gson.annotations.SerializedName;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Id;
import org.mongodb.morphia.annotations.Indexed;
import org.mongodb.morphia.annotations.Reference;

	 */
	public String getMessage() {
		return this.message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	/**
	 * Informs the project to which the commit belongs
	 * @return a {@link Project} object
	 */
	public Project getProject() {
		return this.project;
	}

	public void setProject(Project project) {
		this.project = project;
	}

	/**
	 * Informs the date when the commit was done 
	 * @return a {@link Date} object
	 */
	public Date getCommitDate() {
		return this.commitDate;
	}

	public void setCommitDate(String date) {
		Date createAtDate = new Dates("yyyy-MM-dd HH:mm:ss").format(date.replaceAll("T", " ").replace("Z", ""));