If you don't want to drag in libraries, it's simple enough to do yourself using a Formatter, or related shortcut eg. given integer number of seconds s:
String.format("%d:%02d:%02d", s / 3600, (s % 3600) / 60, (s % 60));
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…