java-ee - java date类有个toLocaleString()方法,为什么不是tostring方法啊!
高洛峰
高洛峰 2017-04-18 09:14:35
0
1
382

java date类有个toLocaleString()方法,为什么不是tostring方法啊!

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(1)
大家讲道理

Because the date representation method is different in various regions, each place has its own habits and needs to be localized, so the API is designed like this

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template