Uses of Interface org.joda.time.ReadablePartial

Uses in package org.joda.time.convert

Methods with parameter type org.joda.time.ReadablePartial

int[]
AbstractConverter.getPartialValues(ReadablePartial fieldSource, Object object, Chronology chrono)
Extracts the values of the partial from an object of this converter's type.
int[]
PartialConverter.getPartialValues(ReadablePartial fieldSource, Object object, Chronology chrono)
Extracts the values of the partial from an object of this converter's type.
int[]
AbstractConverter.getPartialValues(ReadablePartial fieldSource, Object object, Chronology chrono, DateTimeFormatter parser)
Extracts the values of the partial from an object of this converter's type.
int[]
PartialConverter.getPartialValues(ReadablePartial fieldSource, Object object, Chronology chrono, DateTimeFormatter parser)
Extracts the values of the partial from an object of this converter's type.

Uses in package org.joda.time

Classes implementing org.joda.time.ReadablePartial

class
LocalDate is an immutable datetime class representing a date without a time zone.
class
LocalDateTime is an unmodifiable datetime class representing a datetime without a time zone.
class
LocalTime is an immutable time class representing a time without a time zone.
class
Partial is an immutable partial datetime supporting any set of datetime fields.
class
TimeOfDay is an immutable partial supporting the hour, minute, second and millisecond fields.
class
YearMonthDay is an immutable partial supporting the year, monthOfYear and dayOfMonth fields.

Constructors with parameter type org.joda.time.ReadablePartial

Constructs a Partial by copying all the fields and types from another partial.
Creates a period from two partially specified times.
Creates a period from two partially specified times.

Methods with parameter type org.joda.time.ReadablePartial

int[]
DateTimeField.add(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)
Adds a value (which may be negative) to the partial instant, throwing an exception if the maximum size of the instant is reached.
int[]
DateTimeField.addWrapField(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)
Adds a value (which may be negative) to the partial instant, wrapping within this field.
int[]
DateTimeField.addWrapPartial(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)
Adds a value (which may be negative) to the partial instant, wrapping the whole partial if the maximum size of the partial is reached.
Days
Creates a Days representing the number of whole days between the two specified partial datetimes.
Period
Creates a period from two partially specified times, calculating by field difference.
int[]
Chronology.get(ReadablePartial partial, long instant)
Gets the values of a partial from an instant.
String
DateTimeField.getAsShortText(ReadablePartial partial, Locale locale)
Get the human-readable, short text value of this field from a partial instant.
String
DateTimeField.getAsShortText(ReadablePartial partial, int fieldValue, Locale locale)
Get the human-readable, short text value of this field from a partial instant.
String
DateTimeField.getAsText(ReadablePartial partial, Locale locale)
Get the human-readable, text value of this field from a partial instant.
String
DateTimeField.getAsText(ReadablePartial partial, int fieldValue, Locale locale)
Get the human-readable, text value of this field from a partial instant.
int
Get the maximum value for this field evaluated at the specified time.
int
Get the maximum value for this field using the partial instant and the specified values.
int
Get the minimum value for this field evaluated at the specified time.
int
Get the minimum value for this field using the partial instant and the specified values.
Hours
Creates a Hours representing the number of whole hours between the two specified partial datetimes.
boolean
Checks whether the partial is contiguous.
boolean
Does this partial match the specified partial.
Minutes
Creates a Minutes representing the number of whole minutes between the two specified partial datetimes.
Months
Creates a Months representing the number of whole months between the two specified partial datetimes.
Seconds
Creates a Seconds representing the number of whole seconds between the two specified partial datetimes.
int[]
DateTimeField.set(ReadablePartial instant, int fieldIndex, int[] values, String text, Locale locale)
Sets a value in the milliseconds supplied from a human-readable, text value.
int[]
DateTimeField.set(ReadablePartial instant, int fieldIndex, int[] values, int newValue)
Sets a value using the specified partial instant.
long
Chronology.set(ReadablePartial partial, long instant)
Sets the partial into the instant.
void
Chronology.validate(ReadablePartial partial, int[] values)
Validates whether the values are valid for the fields of a partial instant.
Weeks
Creates a Weeks representing the number of whole weeks between the two specified partial datetimes.
DateMidnight
Returns a copy of this date with the partial set of fields replacing those from this instance.
DateTime
Returns a copy of this datetime with the partial set of fields replacing those from this instance.
LocalDate
Returns a copy of this date with the partial set of fields replacing those from this instance.
LocalDateTime
Returns a copy of this datetime with the partial set of fields replacing those from this instance.
LocalTime
Returns a copy of this time with the partial set of fields replacing those from this instance.
Years
Creates a Years representing the number of whole years between the two specified partial datetimes.

Methods with return type org.joda.time.ReadablePartial

ReadablePartial
Gets the partial that this property belongs to.
ReadablePartial
Gets the partial that this property belongs to.
ReadablePartial
Gets the partial that this property belongs to.

Uses in package org.joda.time.chrono

Methods with parameter type org.joda.time.ReadablePartial

int[]
BaseChronology.get(ReadablePartial partial, long instant)
Gets the values of a partial from an instant.
long
BaseChronology.set(ReadablePartial partial, long instant)
Sets the partial into the instant.
void
BaseChronology.validate(ReadablePartial partial, int[] values)
Validates whether the fields stored in a partial instant are valid.

Uses in package org.joda.time.field

Methods with parameter type org.joda.time.ReadablePartial

int[]
BaseDateTimeField.add(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)
Adds a value (which may be negative) to the partial instant, throwing an exception if the maximum size of the instant is reached.
int[]
DelegatedDateTimeField.add(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)
Adds a value (which may be negative) to the partial instant, throwing an exception if the maximum size of the instant is reached.
int[]
UnsupportedDateTimeField.add(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)
Always throws UnsupportedOperationException
int[]
BaseDateTimeField.addWrapField(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)
Adds a value (which may be negative) to the partial instant, wrapping within this field.
int[]
DelegatedDateTimeField.addWrapField(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)
Adds a value (which may be negative) to the partial instant, wrapping within this field.
int[]
UnsupportedDateTimeField.addWrapField(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)
Always throws UnsupportedOperationException
int[]
ZeroIsMaxDateTimeField.addWrapField(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)
Adds a value (which may be negative) to the partial instant, wrapping within this field.
int[]
BaseDateTimeField.addWrapPartial(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)
Adds a value (which may be negative) to the partial instant, wrapping the whole partial if the maximum size of the partial is reached.
int[]
DelegatedDateTimeField.addWrapPartial(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)
Adds a value (which may be negative) to the partial instant, wrapping the whole partial if the maximum size of the partial is reached.
int[]
UnsupportedDateTimeField.addWrapPartial(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd)
Always throws UnsupportedOperationException
int
Compare this field to the same field on another partial instant.
int
Compare this field to the same field on another partial instant.
String
Get the human-readable, short text value of this field from a partial instant.
String
Get the human-readable, short text value of this field from a partial instant.
String
Always throws UnsupportedOperationException
String
BaseDateTimeField.getAsShortText(ReadablePartial partial, int fieldValue, Locale locale)
Get the human-readable, short text value of this field from a partial instant.
String
DelegatedDateTimeField.getAsShortText(ReadablePartial partial, int fieldValue, Locale locale)
Get the human-readable, short text value of this field from a partial instant.
String
UnsupportedDateTimeField.getAsShortText(ReadablePartial partial, int fieldValue, Locale locale)
Always throws UnsupportedOperationException
String
BaseDateTimeField.getAsText(ReadablePartial partial, Locale locale)
Get the human-readable, text value of this field from a partial instant.
String
Get the human-readable, text value of this field from a partial instant.
String
Always throws UnsupportedOperationException
String
BaseDateTimeField.getAsText(ReadablePartial partial, int fieldValue, Locale locale)
Get the human-readable, text value of this field from a partial instant.
String
DelegatedDateTimeField.getAsText(ReadablePartial partial, int fieldValue, Locale locale)
Get the human-readable, text value of this field from a partial instant.
String
UnsupportedDateTimeField.getAsText(ReadablePartial partial, int fieldValue, Locale locale)
Always throws UnsupportedOperationException
int
Get the maximum value for this field evaluated at the specified instant.
int
Get the maximum value for this field evaluated at the specified time.
int
Always throws UnsupportedOperationException
int
Get the maximum value for the field, which is one more than the wrapped field's maximum value.
int
Get the maximum value for this field using the partial instant and the specified values.
int
Get the maximum value for this field using the partial instant and the specified values.
int
Always throws UnsupportedOperationException
int
Get the maximum value for the field, which is one more than the wrapped field's maximum value.
int
Get the minimum value for this field evaluated at the specified instant.
int
Get the minimum value for this field evaluated at the specified time.
int
Always throws UnsupportedOperationException
int
Always returns 1.
int
Get the minimum value for this field using the partial instant and the specified values.
int
Get the minimum value for this field using the partial instant and the specified values.
int
Always throws UnsupportedOperationException
int
Always returns 1.
int[]
BaseDateTimeField.set(ReadablePartial instant, int fieldIndex, int[] values, String text, Locale locale)
Sets a value in the milliseconds supplied from a human-readable, text value.
int[]
DelegatedDateTimeField.set(ReadablePartial instant, int fieldIndex, int[] values, String text, Locale locale)
Sets a value in the milliseconds supplied from a human-readable, text value.
int[]
UnsupportedDateTimeField.set(ReadablePartial instant, int fieldIndex, int[] values, String text, Locale locale)
Always throws UnsupportedOperationException
int[]
BaseDateTimeField.set(ReadablePartial partial, int fieldIndex, int[] values, int newValue)
Sets a value using the specified partial instant.
int[]
DelegatedDateTimeField.set(ReadablePartial instant, int fieldIndex, int[] values, int newValue)
Sets a value using the specified partial instant.
int[]
UnsupportedDateTimeField.set(ReadablePartial instant, int fieldIndex, int[] values, int newValue)
Always throws UnsupportedOperationException

Methods with return type org.joda.time.ReadablePartial

ReadablePartial
Gets the partial instant being used.

Uses in package org.joda.time.format

Methods with parameter type org.joda.time.ReadablePartial

String
Prints a ReadablePartial to a new String.
void
DateTimeFormatter.printTo(StringBuffer buf, ReadablePartial partial)
Prints a ReadablePartial.
void
DateTimePrinter.printTo(StringBuffer buf, ReadablePartial partial, Locale locale)
Prints a ReadablePartial.
void
Prints a ReadablePartial.
void
DateTimePrinter.printTo(Writer out, ReadablePartial partial, Locale locale)
Prints a ReadablePartial.

Uses in package org.joda.time.base

Classes implementing org.joda.time.ReadablePartial

class
AbstractPartial provides a standard base implementation of most methods in the ReadablePartial interface.
class
BaseLocal is an abstract implementation of ReadablePartial that use a local milliseconds internal representation.
class
BasePartial is an abstract implementation of ReadablePartial that stores data in array and Chronology fields.

Constructors with parameter type org.joda.time.ReadablePartial

Creates a period from the given duration and end point.

Methods with parameter type org.joda.time.ReadablePartial

int
Calculates the number of whole units between the two specified partial datetimes.
boolean
Is this partial later than the specified partial.
boolean
Is this partial earlier than the specified partial.
boolean
Is this partial the same as the specified partial.

Copyright (c) 2001-2006 - Joda.org