Uses of Class
monthlyCalendar.Time

Packages that use Time
monthlyCalendar   
 

Uses of Time in monthlyCalendar
 

Methods in monthlyCalendar that return Time
 Time Activity.getEndTime()
          Returns the activity's end time.
 Time Activity.getStartTime()
          Returns the activity's start time.
static Time Time.increaseByMinutes(Time time, int minutes)
          Returns a new time object corresponding to the time we will have after increasing the time parameter by the specified number of minutes.
 

Methods in monthlyCalendar that return types with arguments of type Time
 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 Time
 boolean MonthlyCalendar.addActivity(java.lang.String name, Date date, Time activityStartTime, int duration)
          Verifies whether the specified time period is available and if so, adds the activity to the list of activities for that date.
 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.
 int Time.compareTo(Time time)
          Compares two time objects.
 Activity MonthlyCalendar.getActivity(Date date, Time activityStartTime)
          Returns a reference to the Activity that takes place at the specified date and that starts at the specified time.
 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.
static Time Time.increaseByMinutes(Time time, int minutes)
          Returns a new time object corresponding to the time we will have after increasing the time parameter by the specified number of minutes.
 boolean MonthlyCalendar.isTimePeriodAvailable(Date date, Time activityStartTime, int duration)
          Returns true if it is possible to schedule an activity on the specified date, in the time period starting at activityStartTime and lasting for the specified duration (minutes).
 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 MonthlyCalendar.removeActivity(Date date, Time activityStartTime)
          Removes the activity taking place at the specified date and start time.
 boolean WeekActivities.removeActivity(Day day, Time startTime)
          Removes the activity taking place at the specified day and start time.
 void Activity.setStartTime(Time startTime)
          Updates the activity's start time.
 

Constructors in monthlyCalendar with parameters of type Time
Activity(java.lang.String name, Time startTime, int duration)
          Initializes an Activity object based on the parameters.
 



Web Accessibility