/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package web.rechelper;
import java.util.Calendar;
import java.util.List;
import utils.Day;
/**
*
* @author axe
*/
public class WeekDay {
private List<Ticket> tickets;
private final Day day;
private Ticket firstFree;
public WeekDay(Calendar cal) {
day = new Day(cal.getTimeInMillis());
}
public Day getDay() {
return day;
}
public List<Ticket> getTickets() {
return tickets;
}
public void setTickets(List<Ticket> ticket) {
this.tickets = ticket;
}
public String getTitle() {
return day.toString();
}
@Override
public String toString() {
return getTitle();
}
public Ticket getFirstFree() {
return firstFree;
}
public void setFirstFree(Ticket firstFree) {
this.firstFree = firstFree;
}
}