title: Difference in time using Java - going from before midnight to after midnight
body: <p>I'm working on a program that will return the difference in time (how many hours, mins) that has elapsed between two points in time.  I need to be able to calculate the time, also, if the times are, say, 11:00 pm to 3:00 am.  How would I go about doing this, as well as calculating the time from say 8:00 am to 5:00 pm?</p>
  
  <p>Thanks!</p>