Details
Description
When we try to get a NextSecheduledTime for a cron string that should return next month's first day ("0 1 1 * *") we get current month's last day.
For example:
public static void main(String[] args){
try
{ Date miFecha = new Date(CronParser.getNextScheduledTime("0 1 1 * *", System.currentTimeMillis())); System.out.println(miFecha); }catch(Exception e)
{ e.printStackTrace(); }
}
This prints:
Tue Mar 31 01:00:00 CEST 2015
Attachments
Issue Links
- links to