This commit is contained in:
thinkgem
2019-08-04 23:40:50 +08:00
parent c5074a4557
commit c46512d9ef
20 changed files with 1100 additions and 589 deletions

View File

@@ -26,7 +26,7 @@ public class TimeUtils {
long minute = (ms - day * dd - hour * hh) / mi;
long second = (ms - day * dd - hour * hh - minute * mi) / ss;
StringBuilder sb = new StringBuilder();
if (ms < 1000) {
if (ms >= 0 && ms < 1000) {
sb.append(ms).append("毫秒");
} else {
if (day > 0) {