-
Deprecated ClassesClassDescriptionUse LocalTime which has a much better internal implementation and has been available since 1.3Use LocalTime which has a much better internal implementationUse LocalDate which has a much better internal implementation and has been available since 1.3Use LocalDate which has a much better internal implementation
-
Deprecated MethodsMethodDescriptionUse LocalDate instead of YearMonthDayDateMidnight is deprecatedUse LocalTime instead of TimeOfDayUse LocalDate instead of YearMonthDayUse the method with the correct spellinguse Integer versionuse Integer versionthis method should never have been publicUse toDateTime() as it is identicalUse toMutableDateTime() as it is identicalDateMidnight is deprecatedDateMidnight is deprecatedUse
LocalDate.toDateTimeAtStartOfDay()
which won't throw an exceptionUseLocalDate.toDateTimeAtStartOfDay(DateTimeZone)
which won't throw an exception
-
Deprecated ConstructorsConstructorDescriptionUse longer constructorUse longer constructor
LocalDate
to represent a date without a time zone. Or useDateTime
to represent a full date and time, perhaps usingDateTime.withTimeAtStartOfDay()
to get an instant at the start of a day.