Since Joda-Time time version 2.0 the static method org.joda.time.DateTime#now() was introduced.
To me it is not clear what is the benefit over the use of new DateTime() (as the code just delegates anyway).
public static DateTime now() {
return new DateTime();
}
Also from the java doc it is not clear to me which one I should prefer.
new DateTime
Obtains a {@code DateTime} set to the current system millisecond time using
ISOChronologyin the default time zone.
DateTime#now()
Constructs an instance set to the current system millisecond time using
ISOChronologyin the default time zone.
Can someone explain in which use case which one should be preferred?