class CronExpression implements Serializable, Cloneable {

  public boolean isSatisfiedBy(Date date) {
    Calendar testDateCal = Calendar.getInstance(getTimeZone());
    testDateCal.setTime(date);
    testDateCal.set(Calendar.MILLISECOND, 0);
    Date originalDate = testDateCal.getTime();

    testDateCal.add(Calendar.SECOND, -1);

    Date timeAfter = getTimeAfter(testDateCal.getTime());

    return ((timeAfter != null) && (timeAfter.equals(originalDate)));
  }

  public  CronExpression(String cronExpression);
  public  CronExpression(CronExpression expression);

}