import java.time.LocalTime;
class Ideone {
public static void main
(String[] args
){ LocalTime primeiro = LocalTime.of(12, 0);
LocalTime segundo = LocalTime.of(5, 45);
LocalTime total = primeiro.plusHours(segundo.getHour())
.plusMinutes(segundo.getMinute());
System.
out.
println(primeiro
+ " + " + segundo
+ " = " + total
); }
}
aW1wb3J0IGphdmEudGltZS5Mb2NhbFRpbWU7CgpjbGFzcyBJZGVvbmUgewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpewoJCUxvY2FsVGltZSBwcmltZWlybyA9IExvY2FsVGltZS5vZigxMiwgMCk7CgkJTG9jYWxUaW1lIHNlZ3VuZG8gID0gTG9jYWxUaW1lLm9mKDUsIDQ1KTsKCQkKCQlMb2NhbFRpbWUgdG90YWwgPSBwcmltZWlyby5wbHVzSG91cnMoc2VndW5kby5nZXRIb3VyKCkpCgkJCQkJCQkJICAucGx1c01pbnV0ZXMoc2VndW5kby5nZXRNaW51dGUoKSk7CgkJCQkJCQkJICAKCQlTeXN0ZW0ub3V0LnByaW50bG4ocHJpbWVpcm8gKyAiICsgIiArIHNlZ3VuZG8gKyAiID0gIiArIHRvdGFsKTsKCX0KIH0=