public static String getTimeShort() {
        SimpleDateFormat formatter = new SimpleDateFormat("HH:mm:ss");
        Date currentTime = new Date();
        String dateString = formatter.format(currentTime);
        return dateString;
    }
public static String getTimeShort() {
        SimpleDateFormat formatter = new SimpleDateFormat("HH:mm:ss");
        Date currentTime = new Date();
        String dateString = formatter.format(currentTime);
        return dateString;
    }
public static String getTimeShort ( ) { SimpleDateFormat formatter = new SimpleDateFormat ( "HH:mm:ss" ) ; Date currentTime = new Date ( ) ; String dateString = formatter . format ( currentTime ) ; return dateString ; }
获取时间 小时:分;秒 HH:mm:ss

@return
获取时间 小时 : 分 ; 秒 HH : mm : ss