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