First Question
/**
* TimeSlots can be of 15 minutes, 30 minutes, 45 minutes and 1hour duration.
* You may assume startTime is already set and is in multiples of15 minutes.
* if endTime is more than 60 minutes away from startTime, setendTime to 60 minutes
* after startTime
* if endTime is less than 15 minutes away from startTime (or forthat matter, before startTime),
* set endTime to 15 minutes after startTime
* in all other cases, set endTime to passed time.
* @param endTime
*/
public void setEndTime(Time endTime) {
//TO BE COMPLETED
}
Second Question
/**
*
* @param other
* @return true if there is any overlap between calling objectand parameter object, false otherwise
*
PayPal Gateway not configured
PayPal Gateway not configured