Uses of Class
org.joda.time.MutableDateTime
Packages that use MutableDateTime
Package
Description
Provides support for dates, times, time zones, durations, intervals, and
partials.
Implementation package providing abstract and base time classes.
Provides printing and parsing support for instants and durations.
-
Uses of MutableDateTime in org.joda.time
Methods in org.joda.time that return MutableDateTimeModifier and TypeMethodDescriptionMutableDateTime.Property.add
(int value) Adds a value to the millis value.MutableDateTime.Property.add
(long value) Adds a value to the millis value.MutableDateTime.Property.addWrapField
(int value) Adds a value, possibly wrapped, to the millis value.MutableDateTime.copy()
Clone this object without having to cast the returned object.MutableDateTime.Property.getMutableDateTime()
Gets the mutable datetime being used.static MutableDateTime
MutableDateTime.now()
Obtains aMutableDateTime
set to the current system millisecond time usingISOChronology
in the default time zone.static MutableDateTime
MutableDateTime.now
(Chronology chronology) Obtains aMutableDateTime
set to the current system millisecond time using the specified chronology.static MutableDateTime
MutableDateTime.now
(DateTimeZone zone) Obtains aMutableDateTime
set to the current system millisecond time usingISOChronology
in the specified time zone.static MutableDateTime
Parses aMutableDateTime
from the specified string.static MutableDateTime
MutableDateTime.parse
(String str, DateTimeFormatter formatter) Parses aMutableDateTime
from the specified string using a formatter.MutableDateTime.Property.roundCeiling()
Round to the highest whole unit of this field.MutableDateTime.Property.roundFloor()
Round to the lowest whole unit of this field.MutableDateTime.Property.roundHalfCeiling()
Round to the nearest whole unit of this field, favoring the ceiling if halfway.MutableDateTime.Property.roundHalfEven()
Round to the nearest whole unit of this field.MutableDateTime.Property.roundHalfFloor()
Round to the nearest whole unit of this field, favoring the floor if halfway.MutableDateTime.Property.set
(int value) Sets a value.Sets a text value.Sets a text value.Instant.toMutableDateTime()
Get this object as a MutableDateTime using ISOChronology in the default zone.ReadableDateTime.toMutableDateTime()
Get this object as a MutableDateTime, always returning a new instance.Instant.toMutableDateTimeISO()
Deprecated.Use toMutableDateTime() as it is identical -
Uses of MutableDateTime in org.joda.time.base
Methods in org.joda.time.base that return MutableDateTimeModifier and TypeMethodDescriptionAbstractInstant.toMutableDateTime()
Get this object as a MutableDateTime in the same zone.AbstractInstant.toMutableDateTime
(Chronology chronology) Get this object as a MutableDateTime using the given chronology and its zone.AbstractInstant.toMutableDateTime
(DateTimeZone zone) Get this object as a MutableDateTime using the same chronology but a different zone.AbstractInstant.toMutableDateTimeISO()
Get this object as a MutableDateTime using ISOChronology in the same zone. -
Uses of MutableDateTime in org.joda.time.format
Methods in org.joda.time.format that return MutableDateTimeModifier and TypeMethodDescriptionDateTimeFormatter.parseMutableDateTime
(String text) Parses a date-time from the given text, returning a new MutableDateTime.