java 各数据类型之间的转换 String —> Date SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");Date content= sdf.parse(contentStr);