J2SE-通过SimpleDateFormat使String转换为Date
版权声明:【北京Java青年】:456588754 https://blog.csdn.net/Amen_Wu/article/details/53457533 //MM大写月份,mm分钟 String borDate="2016-01-01"; SimpleDateFormat sdf=new SimpleDateFormat(“yyyy-MM-dd”); Date date=sdf.parse(borDate); 文章来源: https://blog.csdn.net/Amen_Wu/article/details/53457533