Building a simple I/O Run Tracker App in Java. How should I store seconds and minutes?
<p>I'm building my first I/O app as a learning exercise in java. It will be for tracking fitness and running records. </p>

<p>When a user is entering a new workout they will be asked to enter how long the run took them (eg 01h 02min 45sec). The only way I know how to store Date/Time in Java is with the Date class which involves miliseconds since the epoch etc...</p>

<p>Are there any Classes available for simply creating basic "time" objects so I can store 20min30secs in an understandable format instead of a double (eg. 20.5mins).</p>

<p>Cheers!</p>