calMin.add(Calendar.MINUTE, 11);
Calendar calMax = Calendar.getInstance();
calMax.add(Calendar.YEAR, 1);
//判断是否在有效的范围内,如果不在这个范围内则返回发送时间错误
if( sendDate.after(calMin.getTime()) && sendDate.before(calMax.getTime())){
ScheduleSMS sc = new ScheduleSMS(-1, message, sendDate, receiverList);
this.getServerDialog().createScheduleSMS(sc, listener);
}else{
if(listener!=null) listener.fireEevent(new FailureEvent(FailureType.INVALID_SEND_DATE));
}
}