Android 如何使用字符串日期格式设置MinDate()?
Android 如何使用字符串日期格式设置MinDate()?,android,Android,String日期=2020年11月10日 如何使用日期选择器对话框使用此日期设置日期 SimpleDateFormat simpleDateFormat = new SimpleDateFormat("dd/MM/yyyy", Locale.getDefault()); long l = simpleDateFormat.parse("10/11/2020").getTime(); 用这个l来设置最小日期
String日期=2020年11月10日代码>
如何使用日期选择器对话框使用此日期设置日期
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("dd/MM/yyyy", Locale.getDefault());
long l = simpleDateFormat.parse("10/11/2020").getTime();
用这个l来设置最小日期