Uses of Class
calendar.Day

Packages that use Day
calendar   
 

Uses of Day in calendar
 

Methods in calendar that return Day
 Day Date.getDay()
          Returns the day value.
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 are declared.
 

Methods in calendar 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.
 

Methods in calendar 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 calendar with parameters of type Day
Date(Day day, int dayNumber)
          Initializes a date object.
 



Web Accessibility