Java - Time Difference Program Has an Unexpected Output


#1

Hi everyone,

I'm working on what should be a fairly simple program in Java, to take in two times in military format, and calculate the difference between them. You can find the code here. I've commented it to make it a little easier to understand the purpose. Any help would be appreciated. Thanks.


Java Time Difference Program
#2

Just needed to read my code over again. Had minutes calculating with hours. Fixed code found here.