|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.borg.model.Day
public class Day
Class Day pulls together and manages all of the items that make up the CalendarEntities for a single day. It packages together all of a day's info as needed by a client (i.e. the UI).
| Method Summary | |
|---|---|
static Day |
getDay(int year,
int month,
int day)
Gets the Day information for a given day. |
int |
getHoliday()
Gets the holiday flag. |
Collection<CalendarEntity> |
getItems()
Gets all CalendarEntity items for the Day. |
int |
getVacation()
Gets the vacation value for the Day. |
void |
setHoliday(int i)
Sets the holiday value |
void |
setVacation(int i)
Sets the vacation value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Day getDay(int year,
int month,
int day)
throws Exception
year - the yearmonth - the monthday - the day
Exception - the exceptionpublic int getHoliday()
public Collection<CalendarEntity> getItems()
public int getVacation()
public void setHoliday(int i)
i - the new holiday valuepublic void setVacation(int i)
i - the new vacation value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||