title: Algorithm to check whether a certain hour falls into a given time period
body: <p>Assume I've got a start and stop hour in which some processing should take place:</p>
  
  <p>Start 20:00
  End 07:00</p>
  
  <p>Now what is the best algorithm to check if a certain DateTime hour value falls within this range? Thanks in advance!</p>
  
  <p>Please note that the start and end times mentioned above indicate that we are dealing with an "overnight-job". Meaning that the period to be checked starts at 20:00 in the evening and ends at 07:00 on the following morning.</p>