hours.set( 0, 0 );
jsJobTrigger.setType( "complexJobTrigger" ); //$NON-NLS-1$
if ( monthOfYear != null ) {
JsArrayInteger jsMonthsOfYear = (JsArrayInteger) JavaScriptObject.createArray();
jsMonthsOfYear.set( 0, monthOfYear.ordinal() + 1 );
jsJobTrigger.setMonthlyRecurrences( jsMonthsOfYear );
}
jsJobTrigger.setDayOfMonthRecurrences( jsDaysOfMonth );
jsJobTrigger.setHourRecurrences( hours );
jsJobTrigger.setMinuteRecurrences( minutes );