Comment '

This commit is contained in:
Anshu Sharma 2018-11-11 11:59:46 -05:00
parent cac2532c5a
commit 8dfa481448

View file

@ -15,6 +15,14 @@ public class ServiceProvider extends UserType {
//Field for list of services that service provider offers. //Field for list of services that service provider offers.
private List<Service> services; private List<Service> services;
//Field for array of availabilities //Field for array of availabilities
/*
DO NOT CHANGE THIS ARRAY. The 2D array size is hard coded such that the first array has a size
of 7 and the array inside has an array size of 4. The array is setup such that the index represent a day of the
week. Monday is 0, Tuesday is 1, Wednesday is 2, Thursday is 3, Friday is 4, Saturday is 5,
Sunday is 6. so, [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]. Inside each of
the arrays there is a another array containing int values such that index 0,1,2,3 is startHour,
startMin, endHour, endMin respectively.
*/
private int[][] availabilities; private int[][] availabilities;