return ejbTimerService.createTimer(primaryKey, ejbTimeout, copy(scheduleExpression), timerConfig);
}
private ScheduleExpression copy(ScheduleExpression scheduleExpression){
ScheduleExpression scheduleExpressionCopy = new ScheduleExpression();
scheduleExpressionCopy.year(scheduleExpression.getYear());
scheduleExpressionCopy.month(scheduleExpression.getMonth());
scheduleExpressionCopy.dayOfMonth(scheduleExpression.getDayOfMonth());
scheduleExpressionCopy.dayOfWeek(scheduleExpression.getDayOfWeek());
scheduleExpressionCopy.hour(scheduleExpression.getHour());
scheduleExpressionCopy.minute(scheduleExpression.getMinute());