Intelligent date / time parser for Java

后端 未结 5 1013
野性不改
野性不改 2020-12-10 14:35

Is there some intelligent date / time parser library for Java? By intelligent I mean, that I don\'t need to specify the date / time format. The API should be similar to this

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-10 15:33

    Curious that you want to call that intelligent, just consider these:

    • Is your 1.2.2010 the same as mine?
    • What happens if the code is run on different time zones with varying locales?
    • Should it follow some well established standard or invent its own entirely?

    The answer to your question is no.

提交回复
热议问题