SimpleDateFormat正确使用

private static final ThreadLocal<DateFormat> df = new ThreadLocal<DateFormat>() { 
@Override 
protected DateFormat initialValue() { 
return new SimpleDateFormat("yyyy-MM-dd"); 

}; 

猜你喜欢

转载自blog.csdn.net/liqi939597/article/details/84882036
今日推荐