如果我这样设置,代码如下: > long tenYears = 60L * 365 * 1000 * 60 * 60 * 24L; new TimePickerDialog.Builder() .setTitleStringId("选择生日") .setThemeColor(ContextCompat.getColor(this, R.color.login_btn_bg_color)) .setMinMillseconds(System.currentTimeMillis() - tenYears) .setMaxMillseconds(System.currentTimeMillis() ) .setCurrentMillseconds(System.currentTimeMillis()) .setType(Type.YEAR_MONTH_DAY) .setCallBack(listener) .build() .show(getSupportFragmentManager(), "year_month_day"); 然后出来的是这样的: 
Activity