|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DateMidnight | |
org.joda.time | 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 DateMidnight | |
DateMidnight |
YearMonthDay.toDateMidnight()
Deprecated. Converts this object to a DateMidnight in the default time zone. |
DateMidnight |
YearMonthDay.toDateMidnight(DateTimeZone zone)
Deprecated. Converts this object to a DateMidnight. |
DateMidnight |
LocalDate.toDateMidnight()
Converts this LocalDate to a DateMidnight in the default time zone. |
DateMidnight |
LocalDate.toDateMidnight(DateTimeZone zone)
Converts this LocalDate to a DateMidnight. |
DateMidnight |
DateTime.toDateMidnight()
Converts this object to a DateMidnight using the
same millis and chronology. |
DateMidnight |
DateMidnight.withMillis(long newMillis)
Returns a copy of this date with a different millisecond instant. |
DateMidnight |
DateMidnight.withChronology(Chronology newChronology)
Returns a copy of this date with a different chronology, potentially changing the day in unexpected ways. |
DateMidnight |
DateMidnight.withZoneRetainFields(DateTimeZone newZone)
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. |
DateMidnight |
DateMidnight.withFields(ReadablePartial partial)
Returns a copy of this date with the partial set of fields replacing those from this instance. |
DateMidnight |
DateMidnight.withField(DateTimeFieldType fieldType,
int value)
Returns a copy of this date with the specified field set to a new value. |
DateMidnight |
DateMidnight.withFieldAdded(DurationFieldType fieldType,
int amount)
Returns a copy of this date with the value of the specified field increased. |
DateMidnight |
DateMidnight.withDurationAdded(long durationToAdd,
int scalar)
Returns a copy of this date with the specified duration added. |
DateMidnight |
DateMidnight.withDurationAdded(ReadableDuration durationToAdd,
int scalar)
Returns a copy of this date with the specified duration added. |
DateMidnight |
DateMidnight.withPeriodAdded(ReadablePeriod period,
int scalar)
Returns a copy of this date with the specified period added. |
DateMidnight |
DateMidnight.plus(long duration)
Returns a copy of this date with the specified duration added. |
DateMidnight |
DateMidnight.plus(ReadableDuration duration)
Returns a copy of this date with the specified duration added. |
DateMidnight |
DateMidnight.plus(ReadablePeriod period)
Returns a copy of this date with the specified period added. |
DateMidnight |
DateMidnight.plusYears(int years)
Returns a copy of this date plus the specified number of years. |
DateMidnight |
DateMidnight.plusMonths(int months)
Returns a copy of this date plus the specified number of months. |
DateMidnight |
DateMidnight.plusWeeks(int weeks)
Returns a copy of this date plus the specified number of weeks. |
DateMidnight |
DateMidnight.plusDays(int days)
Returns a copy of this date plus the specified number of days. |
DateMidnight |
DateMidnight.minus(long duration)
Returns a copy of this date with the specified duration taken away. |
DateMidnight |
DateMidnight.minus(ReadableDuration duration)
Returns a copy of this date with the specified duration taken away. |
DateMidnight |
DateMidnight.minus(ReadablePeriod period)
Returns a copy of this date with the specified period taken away. |
DateMidnight |
DateMidnight.minusYears(int years)
Returns a copy of this date minus the specified number of years. |
DateMidnight |
DateMidnight.minusMonths(int months)
Returns a copy of this date minus the specified number of months. |
DateMidnight |
DateMidnight.minusWeeks(int weeks)
Returns a copy of this date minus the specified number of weeks. |
DateMidnight |
DateMidnight.minusDays(int days)
Returns a copy of this date minus the specified number of days. |
DateMidnight |
DateMidnight.withEra(int era)
Returns a copy of this date with the era field updated. |
DateMidnight |
DateMidnight.withCenturyOfEra(int centuryOfEra)
Returns a copy of this date with the century of era field updated. |
DateMidnight |
DateMidnight.withYearOfEra(int yearOfEra)
Returns a copy of this date with the year of era field updated. |
DateMidnight |
DateMidnight.withYearOfCentury(int yearOfCentury)
Returns a copy of this date with the year of century field updated. |
DateMidnight |
DateMidnight.withYear(int year)
Returns a copy of this date with the year field updated. |
DateMidnight |
DateMidnight.withWeekyear(int weekyear)
Returns a copy of this date with the weekyear field updated. |
DateMidnight |
DateMidnight.withMonthOfYear(int monthOfYear)
Returns a copy of this date with the month of year field updated. |
DateMidnight |
DateMidnight.withWeekOfWeekyear(int weekOfWeekyear)
Returns a copy of this date with the week of weekyear field updated. |
DateMidnight |
DateMidnight.withDayOfYear(int dayOfYear)
Returns a copy of this date with the day of year field updated. |
DateMidnight |
DateMidnight.withDayOfMonth(int dayOfMonth)
Returns a copy of this date with the day of month field updated. |
DateMidnight |
DateMidnight.withDayOfWeek(int dayOfWeek)
Returns a copy of this date with the day of week field updated. |
DateMidnight |
DateMidnight.Property.getDateMidnight()
Gets the datetime being used. |
DateMidnight |
DateMidnight.Property.addToCopy(int value)
Adds to this field in a copy of this DateMidnight. |
DateMidnight |
DateMidnight.Property.addToCopy(long value)
Adds to this field in a copy of this DateMidnight. |
DateMidnight |
DateMidnight.Property.addWrapFieldToCopy(int value)
Adds to this field, possibly wrapped, in a copy of this DateMidnight. |
DateMidnight |
DateMidnight.Property.setCopy(int value)
Sets this field in a copy of the DateMidnight. |
DateMidnight |
DateMidnight.Property.setCopy(String text,
Locale locale)
Sets this field in a copy of the DateMidnight to a parsed text value. |
DateMidnight |
DateMidnight.Property.setCopy(String text)
Sets this field in a copy of the DateMidnight to a parsed text value. |
DateMidnight |
DateMidnight.Property.withMaximumValue()
Returns a new DateMidnight with this field set to the maximum value for this field. |
DateMidnight |
DateMidnight.Property.withMinimumValue()
Returns a new DateMidnight with this field set to the minimum value for this field. |
DateMidnight |
DateMidnight.Property.roundFloorCopy()
Rounds to the lowest whole unit of this field on a copy of this DateMidnight. |
DateMidnight |
DateMidnight.Property.roundCeilingCopy()
Rounds to the highest whole unit of this field on a copy of this DateMidnight. |
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 |
DateMidnight.Property.roundHalfCeilingCopy()
Rounds to the nearest whole unit of this field on a copy of this DateMidnight, favoring the ceiling if halfway. |
DateMidnight |
DateMidnight.Property.roundHalfEvenCopy()
Rounds to the nearest whole unit of this field on a copy of this DateMidnight. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |