java.util.Date
value.
@param row a zero-based row index
@param field a field name
@return a Date
field value
Date
object for this Time
object. A new Date
object is always returned rather than attempting to cache a date since Date
is mutable.
@return this immutable Time
object as a mutable java.util.Date
object
java.util.Date
. The Date
object created has exactly the same year, month and day as this date. The time will be set to the earliest valid time for that date.
Converting to a JDK Date is full of complications as the JDK Date constructor doesn't behave as you might expect around DST transitions. This method works by taking a first guess and then adjusting the JDK date until it has the earliest valid instant. This also handles the situation where the JDK time zone data differs from the Joda-Time time zone data. @return a Date initialised with this date, never null @since 2.0
java.util.Date
. The Date
object created has exactly the same fields as this date-time, except when the time would be invalid due to a daylight savings gap. In that case, the time will be set to the earliest valid time after the gap.
In the case of a daylight savings overlap, the earlier instant is selected.
Converting to a JDK Date is full of complications as the JDK Date constructor doesn't behave as you might expect around DST transitions. This method works by taking a first guess and then adjusting. This also handles the situation where the JDK time zone data differs from the Joda-Time time zone data. @return a Date initialised with this date-time, never null @since 2.0
|
|
|
|