You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to be an issue introduced in release 2.5.0, likely with #1175 - "L" is not handled correctly for some months, e.g. February. A simple repro follows:
@Test
void testCronExpression() throws Exception {
CronExpression cronExpression = new CronExpression("0 0 11 L * ?");
Date nextValidTime = cronExpression.getNextValidTimeAfter(new Date(2017 - 1900, Calendar.FEBRUARY, 28, 5, 0));
// nextValidTime should be the Feb 28, 2017, but instead is "Fri Mar 31 11:00:00 CEST 2017"
}
The text was updated successfully, but these errors were encountered:
This seems to be an issue introduced in release 2.5.0, likely with #1175 - "L" is not handled correctly for some months, e.g. February. A simple repro follows:
The text was updated successfully, but these errors were encountered: