Simple formatter for time-duration. There are some common libraries that
could be used instead this, but at current time there is no support for
nanosecond formating, so I prepare this solution, that may be replaced at the future.
For more details look at:
- http://stackoverflow.com/questions/266825/how-to-format-a-duration-in-java-e-g-format-hmmss
- http://joda-time.sourceforge.net/
- https://jsr-310.dev.java.net/
- http://commons.apache.org/lang//api/org/apache/commons/lang/time/DurationFormatUtils.html