数字转换为时、分、秒

int intTime=Integer.valueOf(time);
int h=intTime/3600;
int m=(intTime%3600)/60;
int s=(intTime%3600)%60;

posted @ 2016-06-07 19:09  Kevin_Zhou_9  阅读(711)  评论(0编辑  收藏  举报