Posts by Hemerson Silva • 1 point
1 post
-
0
votes1
answer471
viewsQ: Handling Hours with Joda Time
String tempo1 = "01:30:30"; String tempo2 = "24:25:10"; SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss"); try { Date date1 = (Date)sdf.parse(tempo1); Date date2 = (Date)sdf.parse(tempo2);…