Package | Description |
---|---|
org.joda.time |
Provides support for dates, times, time zones, durations, intervals, and
partials.
|
org.joda.time.convert |
Implementation package providing conversion between date and time objects.
|
org.joda.time.format |
Provides printing and parsing support for instants and durations.
|
Modifier and Type | Class and Description |
---|---|
class |
MutablePeriod
Standard mutable time period implementation.
|
Modifier and Type | Method and Description |
---|---|
void |
NullConverter.setInto(ReadWritablePeriod duration,
java.lang.Object object,
Chronology chrono)
Sets the given ReadWritableDuration to zero milliseconds.
|
void |
PeriodConverter.setInto(ReadWritablePeriod period,
java.lang.Object object,
Chronology chrono)
Extracts duration values from an object of this converter's type, and
sets them into the given ReadWritableDuration.
|
void |
ReadableDurationConverter.setInto(ReadWritablePeriod writablePeriod,
java.lang.Object object,
Chronology chrono)
Extracts duration values from an object of this converter's type, and
sets them into the given ReadWritableDuration.
|
void |
ReadablePeriodConverter.setInto(ReadWritablePeriod duration,
java.lang.Object object,
Chronology chrono)
Extracts duration values from an object of this converter's type, and
sets them into the given ReadWritablePeriod.
|
void |
StringConverter.setInto(ReadWritablePeriod period,
java.lang.Object object,
Chronology chrono)
Extracts duration values from an object of this converter's type, and
sets them into the given ReadWritableDuration.
|
void |
ReadableIntervalConverter.setInto(ReadWritablePeriod writablePeriod,
java.lang.Object object,
Chronology chrono)
Sets the values of the mutable duration from the specified interval.
|
Modifier and Type | Method and Description |
---|---|
int |
PeriodFormatter.parseInto(ReadWritablePeriod period,
java.lang.String text,
int position)
Parses a period from the given text, at the given position, saving the
result into the fields of the given ReadWritablePeriod.
|
int |
PeriodFormatterBuilder.FieldFormatter.parseInto(ReadWritablePeriod period,
java.lang.String text,
int position,
java.util.Locale locale) |
int |
PeriodFormatterBuilder.Literal.parseInto(ReadWritablePeriod period,
java.lang.String periodStr,
int position,
java.util.Locale locale) |
int |
PeriodFormatterBuilder.Separator.parseInto(ReadWritablePeriod period,
java.lang.String periodStr,
int position,
java.util.Locale locale) |
int |
PeriodFormatterBuilder.Composite.parseInto(ReadWritablePeriod period,
java.lang.String periodStr,
int position,
java.util.Locale locale) |
int |
PeriodFormat.DynamicWordBased.parseInto(ReadWritablePeriod period,
java.lang.String periodStr,
int position,
java.util.Locale locale) |
int |
PeriodParser.parseInto(ReadWritablePeriod period,
java.lang.String periodStr,
int position,
java.util.Locale locale)
Parses a period from the given text, at the given position, saving the
result into the fields of the given ReadWritablePeriod.
|
(package private) void |
PeriodFormatterBuilder.FieldFormatter.setFieldValue(ReadWritablePeriod period,
int field,
int value) |