Class ProtocolCleanupHelper

java.lang.Object
de.xima.fc.timing.helper.ProtocolCleanupHelper

public class ProtocolCleanupHelper extends Object
Helper class for setting up protocol clean up jobs
Author:
XIMA MEDIA GmbH
  • Method Details

    • getCronExprDaily

      public static final org.quartz.CronExpression getCronExprDaily(Date date) throws ParseException
      Takes the hours, minutes and seconds of the given date and makes a CronExpression out of those for a daily trigger
      Parameters:
      date - Date containing the desired day time
      Returns:
      CronExpression daily CronExpression with the given day time
      Throws:
      ParseException - on errors during parsing the cron-expression