title: How to format a duration in java? (e.g format H:MM:SS)
body: <p>I'd like to format a duration in seconds using a pattern like H:MM:SS. The current utilities in java are designed to format a time but not a duration.</p>