Java equivalent of .NET DateTime.MinValue, DateTime.Today

后端 未结 6 1216
梦毁少年i
梦毁少年i 2021-01-17 08:19

Is there a Java equivalent of DateTime.MinValue and DateTime.Today in the Java Date class? Or a way of achieving something similar?

I\'ve realised how spoilt you are

6条回答
  •  礼貌的吻别
    2021-01-17 08:54

    Most date manipulation should be done using the Calendar object now.

    http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html

提交回复
热议问题