I am working on a project in which I have to add hours from a set time as:
00:00
this data is a String to which I must go adding hours and minutes related to some work parts.
I'm using Jodatime
that I think is more useful than adding up the hours, minutes ...
What I'm doing is creating a LocalDateTime object that I want to add to, but I can not find it on a day at 00:00:
LocalDateTime parteLocalHoraFinDt = new LocalDateTime();
parteLocalHoraFinDt.withHourOfDay(0);
parteLocalHoraFinDt.withMinuteOfHour(0);
parteLocalHoraFinDt.withSecondOfMinute(0);
What am I doing wrong? Any other ideas to add hours to a String "00:00"?