Back to project page dttv-android.
The source code is released under:
GNU General Public License
If you think the Android project dttv-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package dttv.app.utils; /*from w ww.j av a 2s . com*/ public class TimesUtil { public static String getTime(int i) { String result = ""; int minute = i / 60; int hour = minute / 60; int second = i % 60; minute %= 60; result = String.format("%02d:%02d:%02d", hour, minute, second); return result; } }