title: Java get hours from a timestamp
body: <p>I'm reading the timestamp from a file, and convert it using SimpleDataFormat to the timestamp format received from SQL, for some reason, I have to compare the minutes and seconds of both the stamps. Is there an optimized to extract the hours (without parsing it)  from the stamp I have converted using SimpleDateFormat</p>