comment explaining setTime

This commit is contained in:
Anshu Sharma 2018-11-15 07:33:08 -05:00
parent d2b074d518
commit c463906934

View file

@ -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){ public void onSetTimes(View view){
String mondayStratTime = ((Button)findViewById(R.id.MondayStart)).getText().toString(); String mondayStratTime = ((Button)findViewById(R.id.MondayStart)).getText().toString();
String mondayEndTime = ((Button)findViewById(R.id.MondayEnd)).getText().toString(); String mondayEndTime = ((Button)findViewById(R.id.MondayEnd)).getText().toString();