Update DateUtil.java

This commit is contained in:
Carol 2021-09-14 09:20:04 +08:00 committed by GitHub
parent 23a0e2dbbf
commit f98a2927d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -633,7 +633,7 @@ public final class DateUtil {
* @return 月份区间集合
* @throws Exception e
*/
public static List<String> computerMonth(String startMonth, String endMonth, String inputFormat, String outputFormat) throws Exception{
public static List<String> computerMonth(String startMonth, String endMonth, String inputFormat, String outputFormat) {
List<String> months = new ArrayList<>();
try {
Long startTimestamp = translateDateToTimestamp(startMonth, inputFormat);