@Test public void testGetMonths() { assertEquals(12, minuteTrigger.getMonths().length); assertEquals(12, hourTrigger.getMonths().length); assertEquals(12, dayOfMonthTrigger.getMonths().length); assertEquals(3, monthTrigger.getMonths().length); assertEquals(1, dayOfWeekTrigger.getMonths().length); for (int i = 0; i < months.length; i++) assertEquals(months[i], monthTrigger.getMonths()[i]); }
public int[] getMonths() { return months; }
CronJobTrigger implements JobTrigger { public int[] getMonths() { return months; } }
CronJobTrigger implements JobTrigger { public int[] getMonths() { return months; } CronJobTrigger();  CronJobTrigger(String entry); }
CronJobTrigger implements JobTrigger { public int[] getMonths() { return months; } CronJobTrigger();  CronJobTrigger(String entry); @Override Object clone(); void reset(); Date getNextExecutionAfter(Date date); void triggered(Date date); int[] getMinutes(); void setMinutes(int[] minutes); void setMinutes(String minutes); int[] getHours(); void setHours(int[] hours); void setHours(String hours); int[] getMonths(); void setMonths(int[] months); void setMonths(String months); int[] getDaysOfMonth(); void setDaysOfMonth(int[] daysOfMonth); void setDaysOfMonth(String daysOfMonth); int[] getDaysOfWeek(); void setDaysOfWeek(int[] daysOfWeek); void setDaysOfWeek(String daysOfWeek); Object getCronExpression(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
CronJobTrigger implements JobTrigger { public int[] getMonths() { return months; } CronJobTrigger();  CronJobTrigger(String entry); @Override Object clone(); void reset(); Date getNextExecutionAfter(Date date); void triggered(Date date); int[] getMinutes(); void setMinutes(int[] minutes); void setMinutes(String minutes); int[] getHours(); void setHours(int[] hours); void setHours(String hours); int[] getMonths(); void setMonths(int[] months); void setMonths(String months); int[] getDaysOfMonth(); void setDaysOfMonth(int[] daysOfMonth); void setDaysOfMonth(String daysOfMonth); int[] getDaysOfWeek(); void setDaysOfWeek(int[] daysOfWeek); void setDaysOfWeek(String daysOfWeek); Object getCronExpression(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }