This commit is contained in:
Looly
2024-07-31 15:46:15 +08:00
parent 1a0ae09047
commit a22f4d686a
7 changed files with 85 additions and 112 deletions

View File

@@ -50,7 +50,7 @@ public class CronPatternUtil {
* @return 日期列表
*/
public static List<Date> matchedDates(final String patternStr, final Date start, final int count) {
return matchedDates(patternStr, start, DateUtil.endOfYear(start), count);
return matchedDates(patternStr, start, DateUtil.endOfYear(start, false), count);
}
/**