search

Home  >  Q&A  >  body text

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

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

高洛峰高洛峰2888 days ago386

reply all(1)I'll reply

  • 大家讲道理

    大家讲道理2017-04-18 09:16:35

    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

    reply
    0
  • Cancelreply