From 8dfa481448b6dd043b8fd30b3a70666574e4b8df Mon Sep 17 00:00:00 2001 From: Anshu Sharma Date: Sun, 11 Nov 2018 11:59:46 -0500 Subject: [PATCH] Comment ' --- .../uottawa/olympus/olympusservices/ServiceProvider.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProvider.java b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProvider.java index f9c2271..8836b9f 100644 --- a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProvider.java +++ b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProvider.java @@ -15,6 +15,14 @@ public class ServiceProvider extends UserType { //Field for list of services that service provider offers. private List services; //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;