What is the Best Practice for manipulating and storing dates in Java?

后端 未结 5 1539
夕颜
夕颜 2021-02-03 22:37

What is the Best Practice for manipulating and storing Dates e.g. using GregorianCalendar in an enterprise java application?

Looking for feedback and I will consolidate

5条回答
  •  太阳男子
    2021-02-03 22:59

    Joda time (100% interoperable with the JDK)

    Joda-Time provides a quality replacement for the Java date and time classes. The design allows for multiple calendar systems, while still providing a simple API

提交回复
热议问题