package me.deager4.guestmaster.database;

/**
 * Helps format dates for things
 * @author deager4
 *
 */
public class FormattedDate 
{
	private int day;
	private int month;
	private int year;
	public FormattedDate(int day, int month, int year)
	{
		this.day = day;
		this.month = month;
		this.year = year;
	}
	
	public int getDay()
	{
		return this.day;
	}
	
	public int getMonth()
	{
		return this.month;
	}
	
	public int getYear()
	{
		return this.year;
	}
	
	public String toString()
	{
		return this.month + "/" + this.day + "/" + this.year;
	}
}

@@ -46,420 +46,1124 @@
 %0A * 
-Helps format dates for things%0A * @author deager4%0A *%0A */%0Apublic class FormattedDate %0A%7B%0A%09private int day;%0A%09private int month;%0A%09private int year;%0A%09public FormattedDate(int day, int month, int year)%0A%09%7B%0A%09%09this.day = day;%0A%09%09this.month = month;%0A%09%09this.year = year;%0A%09%7D%0A%09%0A%09public int getDay()%0A%09%7B%0A%09%09return this.day;%0A%09%7D%0A%09%0A%09public int getMonth()%0A%09%7B%0A%09%09return this.month;%0A%09%7D%0A%09%0A%09public int getYear()%0A%09%7B%0A%09%09return this.year;%0A%09%7D%0A%09
+A simple date object. Easier to use than the Date object in java.util for simple things%0A * @author deager4%0A *%0A */%0Apublic class FormattedDate %0A%7B%0A%09/**%0A%09 * The day portion of the date. int%0A%09 */%0A%09private int day;%0A%09%0A%09/**%0A%09 * The month portion of the date, int%0A%09 */%0A%09private int month;%0A%09%0A%09/**%0A%09 * THe year portion of the date, int%0A%09 */%0A%09private int year;%0A%09%0A%09/**%0A%09 * I should not have to explain this%0A%09 */%0A%09public FormattedDate(int day, int month, int year)%0A%09%7B%0A%09%09this.day = day;%0A%09%09this.month = month;%0A%09%09this.year = year;%0A%09%7D%0A%09%0A%09/**%0A%09 * Public getter for %7B@link FormattedDate#day%7D%0A%09 * @return %7B@link FormattedDate#date%7D%0A%09 */%0A%09public int getDay()%0A%09%7B%0A%09%09return this.day;%0A%09%7D%0A%09%0A%09/**%0A%09 * Public getter for %7B@link FormattedDate#month%7D%0A%09 * @return %7B@link FormattedDate#month%7D%0A%09 */%0A%09public int getMonth()%0A%09%7B%0A%09%09return this.month;%0A%09%7D%0A%09%0A%09/**%0A%09 * Public getter for %7B@link FormattedDate#year%7D%0A%09 * @return %7B@link FormattedDate#year%7D%0A%09 */%0A%09public int getYear()%0A%09%7B%0A%09%09return this.year;%0A%09%7D%0A%09%0A%09/**%0A%09 * Formats the %7B@link FormattedDate%7D object in the format: %22%7B@link FormattedDate#month%7D/%7B@link FormattedDate#day%7D/%7B@link FormattedDate#year)%22%0A%09 */
 %0A%09pu

Update FormattedDate.java