title: How to store time spent or total duration in Java?
body: <p>I am automating a excel report using the POI API for Java. I will have few reports in my disposal which I read using POI, process them, and create a new excel report.</p>
  
  <p>One of columns from an excel file has total time spent, that is, it could in following format, <code>46:23:12</code> - this reads as <code>46 hours, 23 minutes and 12 seconds</code>.</p>
  
  <p>I understand how to read date and time values and I usually store them in <code>java.util.Date</code>. The problem here is this is a time duration, the hours spent could be more than 24. Which datatype could be suitable for this? And how do I read this using POI?</p>