@Test public void testEqualsCoverage() { assertNotEquals(CrontabEntry.parse("* * * * *"), new Object()); assertNotEquals(CrontabEntry.parse("* * * * *"), CrontabEntry.parse("1 * * * *")); assertEquals(CrontabEntry.parse("1,2,3 * * * *"), CrontabEntry.parse("1-3 * * * *")); assertNotEquals(CrontabEntry.parse("* 0-22 * * *"), CrontabEntry.parse("* * * * *")); assertEquals(CrontabEntry.parse("* 0-23 * * *"), CrontabEntry.parse("* * * * *")); assertNotEquals(CrontabEntry.parse("1 1 1-30 * *"), CrontabEntry.parse("1 1 * * *")); assertEquals(CrontabEntry.parse("1 1 1-31 * *"), CrontabEntry.parse("1 1 * * *")); assertNotEquals(CrontabEntry.parse("1 1 * JAN,FEB-NOV *"), CrontabEntry.parse("1 1 * * *")); assertEquals(CrontabEntry.parse("1 1 * JAN,FEB-DEC *"), CrontabEntry.parse("1 1 * * *")); assertNotEquals(CrontabEntry.parse("* * * * SUN"), CrontabEntry.parse("* * * * SAT")); assertEquals(CrontabEntry.parse("* * * * 0"), CrontabEntry.parse("* * * * SUN")); }
public static CrontabEntry parse(String schedule) throws IllegalArgumentException { return new Parser(schedule).get(); }
CrontabEntry { public static CrontabEntry parse(String schedule) throws IllegalArgumentException { return new Parser(schedule).get(); } }
CrontabEntry { public static CrontabEntry parse(String schedule) throws IllegalArgumentException { return new Parser(schedule).get(); } private  CrontabEntry(
      RangeSet<Integer> minute,
      RangeSet<Integer> hour,
      RangeSet<Integer> dayOfMonth,
      RangeSet<Integer> month,
      RangeSet<Integer> dayOfWeek); }
CrontabEntry { public static CrontabEntry parse(String schedule) throws IllegalArgumentException { return new Parser(schedule).get(); } private  CrontabEntry(
      RangeSet<Integer> minute,
      RangeSet<Integer> hour,
      RangeSet<Integer> dayOfMonth,
      RangeSet<Integer> month,
      RangeSet<Integer> dayOfWeek); static CrontabEntry parse(String schedule); static Optional<CrontabEntry> tryParse(String schedule); RangeSet<Integer> getDayOfWeek(); boolean hasWildcardDayOfMonth(); boolean hasWildcardDayOfWeek(); String getMinuteAsString(); String getHourAsString(); String getDayOfMonthAsString(); String getMonthAsString(); String getDayOfWeekAsString(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); }
CrontabEntry { public static CrontabEntry parse(String schedule) throws IllegalArgumentException { return new Parser(schedule).get(); } private  CrontabEntry(
      RangeSet<Integer> minute,
      RangeSet<Integer> hour,
      RangeSet<Integer> dayOfMonth,
      RangeSet<Integer> month,
      RangeSet<Integer> dayOfWeek); static CrontabEntry parse(String schedule); static Optional<CrontabEntry> tryParse(String schedule); RangeSet<Integer> getDayOfWeek(); boolean hasWildcardDayOfMonth(); boolean hasWildcardDayOfWeek(); String getMinuteAsString(); String getHourAsString(); String getDayOfMonthAsString(); String getMonthAsString(); String getDayOfWeekAsString(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }