1я попытка сохранения новой формы

This commit is contained in:
2024-07-22 07:37:01 +05:00
parent 4808852c2f
commit 2b0059df54
14 changed files with 331 additions and 286 deletions

View File

@ -135,12 +135,12 @@ public class TimeInput extends LinearLayout {
{
//d = sdf.parse(etH.getText().toString()+":"+etM.getText().toString()+":"+etS.getText().toString());
String h = etH.getText().toString();
if(h=="") h="00";
if(h.equals("")) h="00";
String m = etM.getText().toString();
if(m=="") m="00";
if(m.equals("")) m="00";
//String s = etS.getText().toString();
//if(s=="") s="00";
//if(s.equals("")) s="00";
d = sdf.parse(h+":"+m+":00");
} catch (ParseException e) {