/*自定义还书时间和闹铃提醒*/
        selfDefCalendar = Calendar.getInstance();//获取日历实例,即对selfDefCalender初始化
        selfDefCalendar.setTimeInMillis(System.currentTimeMillis());//设置日历的时间,主要是让日历的年月日和当前同步
        /**启动时间控件小时分钟*/
          new TimePickerDialog
        (
            PropertySetActivity.this,
            new TimePickerDialog.OnTimeSetListener()
            {
                @Override
                /*设置时间*/
                public void onTimeSet(TimePicker view,int hourOfDay, int minute)
                {
                    // TODO Auto-generated method stub
                    selfDefCalendar.set(Calendar.HOUR_OF_DAY, hourOfDay);
                    selfDefCalendar.set(Calendar.MINUTE, minute);
                }
                /*设置时间*/
            },
            10,//时间默认是上午10:00
            0,
            true
        ).show();
          /**启动时间控件小时分钟*/
        /**启动日期控件年月日*/
        new DatePickerDialog(PropertySetActivity.this,new DatePickerDialog.OnDateSetListener() {
            @Override
            /**设置还书提醒日期*/
            public void onDateSet(DatePicker view, int year,
                    int monthOfYear, int dayOfMonth) {
                // TODO Auto-generated method stub
                selfDefCalendar.set(Calendar.YEAR,year);
                selfDefCalendar.set(Calendar.MONTH,monthOfYear);
                selfDefCalendar.set(Calendar.DAY_OF_MONTH,dayOfMonth);
            }
            /**设置还书提醒日期*/
        },selfDefCalendar.get(Calendar.YEAR),selfDefCalendar.get(Calendar.MONTH),selfDefCalendar.get(Calendar.DAY_OF_MONTH)).show();//end DatePickerDialog
        /**启动日期控件年月日*/
        /*自定义还书时间和闹铃提醒*/