// Path: src/main/java/org/openbakery/timetracker/web/TimeTrackerSession.java
// public class TimeTrackerSession extends WebSession {
// 
// 	private static Logger log = LoggerFactory.getLogger(TimeTrackerSession.class);
// 
// 	private static final long serialVersionUID = 1L;
// 
// 	private User user;
// 	private DateTime currentDate;
//     private Project lastStoredProject;
// 
// 	public TimeTrackerSession(Request request) {
// 		super(request);
// 		user = new User();
// 	}
// 
// 	public User getUser() {
// 		return user;
// 	}
// 
// 	public void setUser(User user) {
// 		this.user = user;
// 	}
// 
// 
// 	public List<MenuItem> getMenuItems() {
// 
// 		return ((TimeTrackerWebApplication) getApplication()).getMenuItems();
// 	}
// 
// 	public DateTime getCurrentDate() {
// 		if (currentDate == null) {
// 			currentDate = DateHelper.trimDateTime(new DateTime());
// 		}
// 		return currentDate;
// 	}
// 
// 
// 	public void setCurrentDate(DateTime currentDate) {
// 		this.currentDate = DateHelper.trimDateTime(currentDate);
// 	}
// 
//     public Project getLastStoredProject() {
//         return lastStoredProject;
//     }
// 
//     public void setLastStoredProject(Project lastStoredProject) {
//         this.lastStoredProject = lastStoredProject;
//     }
// 
// }
// 
// Path: src/main/java/org/openbakery/timetracker/web/bean/TimeSheetData.java
// public class TimeSheetData implements Serializable {
// 	private static final long serialVersionUID = 1L;
// 
// 
// 	private Date currentDay;
// 	private Customer customer;
// 
//     public Date getCurrentDay() {
// 		return currentDay;
// 	}
// 
// 	public void setCurrentDay(Date currentDay) {
// 		this.currentDay = currentDay;
// 	}
// 
// 	public Customer getCustomer() {
// 		return customer;
// 	}
// 
// 	public void setCustomer(Customer customer) {
// 		this.customer = customer;
// 	}
// }


import org.apache.wicket.markup.html.form.Button;
import org.apache.wicket.model.ResourceModel;
import org.joda.time.DateTime;
import org.openbakery.timetracker.web.TimeTrackerSession;
import org.openbakery.timetracker.web.bean.TimeSheetData;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
package org.openbakery.timetracker.web.timesheet;


public class PreviousButton extends Button {
	private static final Logger log = LoggerFactory.getLogger(NextButton.class);

	private static final long serialVersionUID = 1L;

	private TimeSheetData timeSheetData;

// Path: src/main/java/org/openbakery/timetracker/web/TimeTrackerSession.java
// public class TimeTrackerSession extends WebSession {
// 
// 	private static Logger log = LoggerFactory.getLogger(TimeTrackerSession.class);
// 
// 	private static final long serialVersionUID = 1L;
// 
// 	private User user;
// 	private DateTime currentDate;
//     private Project lastStoredProject;
// 
// 	public TimeTrackerSession(Request request) {
// 		super(request);
// 		user = new User();
// 	}
// 
// 	public User getUser() {
// 		return user;
// 	}
// 
// 	public void setUser(User user) {
// 		this.user = user;
// 	}
// 
// 
// 	public List<MenuItem> getMenuItems() {
// 
// 		return ((TimeTrackerWebApplication) getApplication()).getMenuItems();
// 	}
// 
// 	public DateTime getCurrentDate() {
// 		if (currentDate == null) {
// 			currentDate = DateHelper.trimDateTime(new DateTime());
// 		}
// 		return currentDate;
// 	}
// 
// 
// 	public void setCurrentDate(DateTime currentDate) {
// 		this.currentDate = DateHelper.trimDateTime(currentDate);
// 	}
// 
//     public Project getLastStoredProject() {
//         return lastStoredProject;
//     }
// 
//     public void setLastStoredProject(Project lastStoredProject) {
//         this.lastStoredProject = lastStoredProject;
//     }
// 
// }
// 
// Path: src/main/java/org/openbakery/timetracker/web/bean/TimeSheetData.java
// public class TimeSheetData implements Serializable {
// 	private static final long serialVersionUID = 1L;
// 
// 
// 	private Date currentDay;
// 	private Customer customer;
// 
//     public Date getCurrentDay() {
// 		return currentDay;
// 	}
// 
// 	public void setCurrentDay(Date currentDay) {
// 		this.currentDay = currentDay;
// 	}
// 
// 	public Customer getCustomer() {
// 		return customer;
// 	}
// 
// 	public void setCustomer(Customer customer) {
// 		this.customer = customer;
// 	}
// }


// Path: src/main/java/org/openbakery/timetracker/web/timesheet/PreviousButton.java
import org.apache.wicket.markup.html.form.Button;
import org.apache.wicket.model.ResourceModel;
import org.joda.time.DateTime;
import org.openbakery.timetracker.web.TimeTrackerSession;
import org.openbakery.timetracker.web.bean.TimeSheetData;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

package org.openbakery.timetracker.web.timesheet;


public class PreviousButton extends Button {
	private static final Logger log = LoggerFactory.getLogger(NextButton.class);

	private static final long serialVersionUID = 1L;

	private TimeSheetData timeSheetData;

	public PreviousButton(String id, TimeSheetData timeSheetData) {