From c463906934bb14c6b8fb468651dd452f02e373d0 Mon Sep 17 00:00:00 2001 From: Anshu Sharma Date: Thu, 15 Nov 2018 07:33:08 -0500 Subject: [PATCH] comment explaining setTime --- .../olympusservices/ServiceProviderAvailabilities.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProviderAvailabilities.java b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProviderAvailabilities.java index 0415724..311395a 100644 --- a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProviderAvailabilities.java +++ b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProviderAvailabilities.java @@ -127,6 +127,12 @@ public class ServiceProviderAvailabilities extends AppCompatActivity { } } + /** + * Parses the views of the UI to generate 2D int array and updates the database and user with + * the new 2D on click of the setTime button. + * + * @param view + */ public void onSetTimes(View view){ String mondayStratTime = ((Button)findViewById(R.id.MondayStart)).getText().toString(); String mondayEndTime = ((Button)findViewById(R.id.MondayEnd)).getText().toString();