|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Day | |
|---|---|
| monthlyCalendar | |
| Uses of Day in monthlyCalendar |
|---|
| Methods in monthlyCalendar that return Day | |
|---|---|
Day |
Date.getDay()
Returns the day value. |
Day |
MonthlyCalendar.getFirstDay()
Returns the first day of the month. |
static Day |
Day.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Day[] |
Day.values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods in monthlyCalendar that return types with arguments of type Day | |
|---|---|
java.util.Set<Day> |
WeekActivities.daysWithActivities()
Returns a set of days with activities. |
java.util.Map<Day,java.util.Map<Time,Activity>> |
WeekActivities.getDayTimeActivityMap()
This methods returns a map that allow us to tell what activity takes place at a particular day and at a particular start time. |
java.util.Map<Day,java.util.Map<Time,Activity>> |
MonthlyCalendar.getDayTimeActivityMap(int weekNumber)
This methods returns a map that allow us to tell what activity takes place in a week, at a particular day and at a particular start time. |
| Methods in monthlyCalendar with parameters of type Day | |
|---|---|
boolean |
WeekActivities.addActivity(java.lang.String name,
Day day,
Time activityStartTime,
int duration)
Verifies whether the specified time period is available and if so, adds the activity to the list of activities for the day. |
boolean |
WeekActivities.anyActivitiesOnDay(Day day)
Returns true if there are any activities scheduled during the specified day and false otherwise. |
java.util.Iterator<Activity> |
WeekActivities.dayActivitiesIterator(Day day)
Returns an Activity iterator for the activities in the specified day |
Activity |
WeekActivities.getActivity(Day day,
Time startTime)
Returns a reference to the Activity that takes place at the specified day and that starts at the specified time. |
boolean |
WeekActivities.isTimePeriodAvailable(Day day,
Time activityStartTime,
int duration)
Returns true if it is possible to schedule an activity in the time period starting at activityStartTime and lasting for the specified duration (minutes). |
boolean |
WeekActivities.removeActivity(Day day,
Time startTime)
Removes the activity taking place at the specified day and start time. |
| Constructors in monthlyCalendar with parameters of type Day | |
|---|---|
Date(Day day,
int dayNumber)
Initializes a date object. |
|
MonthlyCalendar(Month month,
int maxNumberDays,
Day firstDay)
Initializes the MonthlyCalendar object using the specified parameters. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||