Date date = null;
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
try {
date = sdf.parse(request.getPlegDate());
} catch (ParseException e) {
e.printStackTrace();
}
request.setPlegDate(sdf.format(date));
SimpleDateFormat之时间日期转换
最新推荐文章于 2022-11-24 14:16:23 发布