java:转换时间格式为String

1 SimpleDateFormat format = new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss");
2 Date curDate = new Date();
3 String str = format.format(curDate);
原文地址:https://www.cnblogs.com/Sunnor/p/4930848.html