Comment '
This commit is contained in:
		
							parent
							
								
									b730557cec
								
							
						
					
					
						commit
						9c6c3ea257
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -15,6 +15,14 @@ public class ServiceProvider extends UserType {
 | 
			
		|||
    //Field for list of services that service provider offers.
 | 
			
		||||
    private List<Service> 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;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue