this
.
@return this
This method returns a DateTime object in the default zone. This differs from the similarly named method on DateTime, DateMidnight or MutableDateTime which retains the time zone. The difference is because Instant really represents a time without a zone, thus calling this method we really have no zone to 'retain' and hence expect to switch to the default zone.
This method definition preserves compatability with earlier versions of Joda-Time. @return a DateTime using the same millis
The resulting chronology is determined by the chronology of this LocalDate. The chronology of the time must match. If the time is null, the current time in the date's chronology is used.
This method will throw an exception if the datetime that would be created does not exist when the time zone is taken into account.
This instance is immutable and unaffected by this method call. @param time the time of day to use, null means current time @return the DateTime instance @throws IllegalArgumentException if the chronology of the time does not match
This method will throw an exception if the datetime that would be created does not exist when the time zone is taken into account.
@return this
If the implementation of the interface is a DateTime, it is returned directly. @return a DateTime using the same millis
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|