title: How can I "pretty print" a Duration in Java?
body: <p>Does anyone know of a Java library that can pretty print a number in milliseconds in the same way that C# does?</p>
  
  <p>E.g., 123456 ms as a long would be printed as 4d1h3m5s.</p>