标签:class sys final image bubuko return out style info
1 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 2 String Time = sdf.format(new Date()); 3 System.out.println(Time);
1 public final String format(Date date) 2 { 3 return format(date, new StringBuffer(), 4 DontCareFieldPosition.INSTANCE).toString(); 5 }
显示结果如上
标签:class sys final image bubuko return out style info
原文地址:https://www.cnblogs.com/dengsheng/p/9527400.html