public class Week
extends java.lang.Object
Constructor and Description |
---|
Week()
Default constructor
|
Week(int hourStart,
int hourEnd)
Creates the whole week, from Monday to Sunday.
|
Modifier and Type | Method and Description |
---|---|
Day |
getDay(int index) |
int |
getDayCount() |
Day[] |
getDays() |
int |
getWeekHours() |
public Week(int hourStart, int hourEnd)
hourStart
- this is the hour in which the days begin.hourEnd
- this is the hour in which the days endpublic Week()