Uses of Class
calendar.Time

Packages that use Time
calendar   
 

Uses of Time in calendar
 

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

Methods in calendar with parameters of type Time
 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 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 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.
 void Activity.setStartTime(Time startTime)
          Updates the activity's start time.
 

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



Web Accessibility