public CronType(String second,String minute,String hour,String dayOfWeek,String dayOfMonth,String month,String year,Date start,Date end){
  _text=String.format("%s %s %s %s %s %s %s",second,minute,hour,dayOfWeek,dayOfMonth,month,year);
  _minutes=parseRange(minute,0,59);
  _hours=parseRange(hour,0,23);
  _daysOfWeek=parseRange(dayOfWeek,0,7);
  if (_daysOfWeek[7]) {
    _daysOfWeek[0]=_daysOfWeek[7];
  }
  _days=parseRange(dayOfMonth,1,31);
  _months=parseRange(month,1,12);
}

public CronType ( String second , String minute , String hour , String dayOfWeek , String dayOfMonth , String month , String year , Date start , Date end ) { _text = String . format ( "%s %s %s %s %s %s %s" , second , minute , hour , dayOfWeek , dayOfMonth , month , year ) ; _minutes = parseRange ( minute , 0 , 59 ) ; _hours = parseRange ( hour , 0 , 23 ) ; _daysOfWeek = parseRange ( dayOfWeek , 0 , 7 ) ; if ( _daysOfWeek [ 7 ] ) { _daysOfWeek [ 0 ] = _daysOfWeek [ 7 ] ; } _days = parseRange ( dayOfMonth , 1 , 31 ) ; _months = parseRange ( month , 1 , 12 ) ; }
creates new cron trigger .
