部落格開通美化測試
阿新 • • 發佈:2020-11-18
部落格開通美化測試
標題一
private static List<String> getTiemDiffere(String start, String end) { Long s = DateUtil.getTimeDurationDay(start,end,"M"); Integer difference = BigDecimalUtils.round(String.valueOf(s),"12"); if (s<120L){ throw new BizException("請將選擇的時間區域設定成大於兩個小時"); } List<String> list = new ArrayList<>(); for (int i = 1; i <13 ; i++) { String tm = DateUtil.getNewTimeAfterMinutes(start,difference*i).format(DateUtil.df); list.add(tm); } return list; }
標題二
private static List<String> getTiemDiffere(String start, String end) { Long s = DateUtil.getTimeDurationDay(start,end,"M"); Integer difference = BigDecimalUtils.round(String.valueOf(s),"12"); if (s<120L){ throw new BizException("請將選擇的時間區域設定成大於兩個小時"); } List<String> list = new ArrayList<>(); for (int i = 1; i <13 ; i++) { String tm = DateUtil.getNewTimeAfterMinutes(start,difference*i).format(DateUtil.df); list.add(tm); } return list; }
標題二
這是一篇測試樣式的文章
private static List<String> getTiemDiffere(String start, String end) { Long s = DateUtil.getTimeDurationDay(start,end,"M"); Integer difference = BigDecimalUtils.round(String.valueOf(s),"12"); if (s<120L){ throw new BizException("請將選擇的時間區域設定成大於兩個小時"); } List<String> list = new ArrayList<>(); for (int i = 1; i <13 ; i++) { String tm = DateUtil.getNewTimeAfterMinutes(start,difference*i).format(DateUtil.df); list.add(tm); } return list; }