Uses of Class
org.joda.time.DateMidnight
Packages that use DateMidnight
Package
Description
Provides support for dates, times, time zones, durations, intervals, and
partials.
-
Uses of DateMidnight in org.joda.time
Methods in org.joda.time that return DateMidnightModifier and TypeMethodDescriptionDateMidnight.Property.addToCopy
(int value) Adds to this field in a copy of this DateMidnight.DateMidnight.Property.addToCopy
(long value) Adds to this field in a copy of this DateMidnight.DateMidnight.Property.addWrapFieldToCopy
(int value) Adds to this field, possibly wrapped, in a copy of this DateMidnight.DateMidnight.Property.getDateMidnight()
Gets the datetime being used.DateMidnight.minus
(long duration) Deprecated.Returns a copy of this date with the specified duration taken away.DateMidnight.minus
(ReadableDuration duration) Deprecated.Returns a copy of this date with the specified duration taken away.DateMidnight.minus
(ReadablePeriod period) Deprecated.Returns a copy of this date with the specified period taken away.DateMidnight.minusDays
(int days) Deprecated.Returns a copy of this date minus the specified number of days.DateMidnight.minusMonths
(int months) Deprecated.Returns a copy of this date minus the specified number of months.DateMidnight.minusWeeks
(int weeks) Deprecated.Returns a copy of this date minus the specified number of weeks.DateMidnight.minusYears
(int years) Deprecated.Returns a copy of this date minus the specified number of years.static DateMidnight
DateMidnight.now()
Deprecated.Obtains aDateMidnight
set to the current system millisecond time usingISOChronology
in the default time zone.static DateMidnight
DateMidnight.now
(Chronology chronology) Deprecated.Obtains aDateMidnight
set to the current system millisecond time using the specified chronology.static DateMidnight
DateMidnight.now
(DateTimeZone zone) Deprecated.Obtains aDateMidnight
set to the current system millisecond time usingISOChronology
in the specified time zone.static DateMidnight
Deprecated.Parses aDateMidnight
from the specified string.static DateMidnight
DateMidnight.parse
(String str, DateTimeFormatter formatter) Deprecated.Parses aDateMidnight
from the specified string using a formatter.DateMidnight.plus
(long duration) Deprecated.Returns a copy of this date with the specified duration added.DateMidnight.plus
(ReadableDuration duration) Deprecated.Returns a copy of this date with the specified duration added.DateMidnight.plus
(ReadablePeriod period) Deprecated.Returns a copy of this date with the specified period added.DateMidnight.plusDays
(int days) Deprecated.Returns a copy of this date plus the specified number of days.DateMidnight.plusMonths
(int months) Deprecated.Returns a copy of this date plus the specified number of months.DateMidnight.plusWeeks
(int weeks) Deprecated.Returns a copy of this date plus the specified number of weeks.DateMidnight.plusYears
(int years) Deprecated.Returns a copy of this date plus the specified number of years.DateMidnight.Property.roundCeilingCopy()
Rounds to the highest whole unit of this field on a copy of this DateMidnight.DateMidnight.Property.roundFloorCopy()
Rounds to the lowest whole unit of this field on a copy of this DateMidnight.DateMidnight.Property.roundHalfCeilingCopy()
Rounds to the nearest whole unit of this field on a copy of this DateMidnight, favoring the ceiling if halfway.DateMidnight.Property.roundHalfEvenCopy()
Rounds to the nearest whole unit of this field on a copy of this DateMidnight.DateMidnight.Property.roundHalfFloorCopy()
Rounds to the nearest whole unit of this field on a copy of this DateMidnight, favoring the floor if halfway.DateMidnight.Property.setCopy
(int value) Sets this field in a copy of the DateMidnight.Sets this field in a copy of the DateMidnight to a parsed text value.Sets this field in a copy of the DateMidnight to a parsed text value.DateTime.toDateMidnight()
Deprecated.DateMidnight is deprecatedLocalDate.toDateMidnight()
Deprecated.DateMidnight is deprecatedLocalDate.toDateMidnight
(DateTimeZone zone) Deprecated.DateMidnight is deprecatedYearMonthDay.toDateMidnight()
Deprecated.Converts this object to a DateMidnight in the default time zone.YearMonthDay.toDateMidnight
(DateTimeZone zone) Deprecated.Converts this object to a DateMidnight.DateMidnight.withCenturyOfEra
(int centuryOfEra) Deprecated.Returns a copy of this date with the century of era field updated.DateMidnight.withChronology
(Chronology newChronology) Deprecated.Returns a copy of this date with a different chronology, potentially changing the day in unexpected ways.DateMidnight.withDayOfMonth
(int dayOfMonth) Deprecated.Returns a copy of this date with the day of month field updated.DateMidnight.withDayOfWeek
(int dayOfWeek) Deprecated.Returns a copy of this date with the day of week field updated.DateMidnight.withDayOfYear
(int dayOfYear) Deprecated.Returns a copy of this date with the day of year field updated.DateMidnight.withDurationAdded
(long durationToAdd, int scalar) Deprecated.Returns a copy of this date with the specified duration added.DateMidnight.withDurationAdded
(ReadableDuration durationToAdd, int scalar) Deprecated.Returns a copy of this date with the specified duration added.DateMidnight.withEra
(int era) Deprecated.Returns a copy of this date with the era field updated.DateMidnight.withField
(DateTimeFieldType fieldType, int value) Deprecated.Returns a copy of this date with the specified field set to a new value.DateMidnight.withFieldAdded
(DurationFieldType fieldType, int amount) Deprecated.Returns a copy of this date with the value of the specified field increased.DateMidnight.withFields
(ReadablePartial partial) Deprecated.Returns a copy of this date with the partial set of fields replacing those from this instance.DateMidnight.Property.withMaximumValue()
Returns a new DateMidnight with this field set to the maximum value for this field.DateMidnight.withMillis
(long newMillis) Deprecated.Returns a copy of this date with a different millisecond instant.DateMidnight.Property.withMinimumValue()
Returns a new DateMidnight with this field set to the minimum value for this field.DateMidnight.withMonthOfYear
(int monthOfYear) Deprecated.Returns a copy of this date with the month of year field updated.DateMidnight.withPeriodAdded
(ReadablePeriod period, int scalar) Deprecated.Returns a copy of this date with the specified period added.DateMidnight.withWeekOfWeekyear
(int weekOfWeekyear) Deprecated.Returns a copy of this date with the week of weekyear field updated.DateMidnight.withWeekyear
(int weekyear) Deprecated.Returns a copy of this date with the weekyear field updated.DateMidnight.withYear
(int year) Deprecated.Returns a copy of this date with the year field updated.DateMidnight.withYearOfCentury
(int yearOfCentury) Deprecated.Returns a copy of this date with the year of century field updated.DateMidnight.withYearOfEra
(int yearOfEra) Deprecated.Returns a copy of this date with the year of era field updated.DateMidnight.withZoneRetainFields
(DateTimeZone newZone) Deprecated.Returns a copy of this date with a different time zone, preserving the day The returned object will have a local time of midnight in the new zone on the same day as the original instant.