Package de.xima.fc.timing.helper
Class ProtocolCleanupHelper
java.lang.Object
de.xima.fc.timing.helper.ProtocolCleanupHelper
Helper class for setting up protocol clean up jobs
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionstatic final 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 Details
-
getCronExprDaily
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
-