public static CronExpression parseCronExpression(final String cronExpression,
      final DateTimeZone timezone) {
    if (cronExpression != null) {
      try {
        final CronExpression ce = new CronExpression(cronExpression);
        ce.setTimeZone(TimeZone.getTimeZone(timezone.getID()));
        return ce;
      } catch (final ParseException pe) {
        logger.error("this cron expression {" + cronExpression + "} can not be parsed. "
            + "Please Check Quartz Cron Syntax.");
      }
      return null;
    } else {
      return null;
    }
  }
public static CronExpression parseCronExpression ( final String cronExpression , final DateTimeZone timezone ) { if ( cronExpression != null ) { try { final CronExpression ce = new CronExpression ( cronExpression ) ; ce . setTimeZone ( TimeZone . getTimeZone ( timezone . getID ( ) ) ) ; return ce ; } catch ( final ParseException pe ) { logger . error ( "this cron expression {" + cronExpression + "} can not be parsed. " + "Please Check Quartz Cron Syntax." ) ; } return null ; } else { return null ; } }
@param cronExpression: A cron expression is a string separated by white space, to provide a
parser and evaluator for Quartz cron expressions.
@return : org.quartz.CronExpression object.

TODO: Currently, we have to transform Joda Timezone to Java Timezone due to CronExpression.
Since Java8 enhanced Time functionalities, We consider transform all Jodatime to Java Time in
future.