title: Comparing times and times operations in Java
body: <p>Hello 
  I wanna create app that has different behaviors if it is morning, noon, afternoon, evening.
  Now i wanna set some variables with the time for each
  For example noon = 12:00
  Now i wanna compare current time with them and see if it is morning for example, and to calculate how much till noon 12:00 - current time.
  Now I've seen several examples with different dates, but i want to compare only by hour.</p>