Package de.xima.fc.timing.helper
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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.quartz.CronExpression
getCronExprDaily(Date date)
Takes the hours, minutes and seconds of the given date and makes aCronExpression
out of those for a daily trigger
-
-
-
Method Detail
-
getCronExprDaily
public static final org.quartz.CronExpression getCronExprDaily(Date date) throws ParseException
Takes the hours, minutes and seconds of the given date and makes aCronExpression
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
-
-