Package web.rechelper

Source Code of web.rechelper.WeekDay

/*
* 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;
    }

}
TOP

Related Classes of web.rechelper.WeekDay

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.