Uses of Interface
org.joda.time.ReadablePartial
Packages that use ReadablePartial
Package
Description
Provides support for dates, times, time zones, durations, intervals, and
partials.
Implementation package providing abstract and base time classes.
Package containing the chronology classes which define the calendar systems.
Implementation package providing conversion between date and time objects.
Implementation package providing abstract and standard field classes.
Provides printing and parsing support for instants and durations.
-
Uses of ReadablePartial in org.joda.time
Classes in org.joda.time that implement ReadablePartialModifier and TypeClassDescriptionfinal classLocalDate is an immutable datetime class representing a date without a time zone.final classLocalDateTime is an unmodifiable datetime class representing a datetime without a time zone.final classLocalTime is an immutable time class representing a time without a time zone.final classMonthDay is an immutable partial supporting the monthOfYear and dayOfMonth fields.final classPartial is an immutable partial datetime supporting any set of datetime fields.final classDeprecated.Use LocalTime which has a much better internal implementation and has been available since 1.3final classYearMonth is an immutable partial supporting the year and monthOfYear fields.final classDeprecated.Use LocalDate which has a much better internal implementation and has been available since 1.3Methods in org.joda.time that return ReadablePartialModifier and TypeMethodDescriptionprotected ReadablePartialMonthDay.Property.getReadablePartial()Gets the partial that this property belongs to.protected ReadablePartialPartial.Property.getReadablePartial()Gets the partial that this property belongs to.protected ReadablePartialTimeOfDay.Property.getReadablePartial()Deprecated.Gets the partial that this property belongs to.protected ReadablePartialYearMonth.Property.getReadablePartial()Gets the partial that this property belongs to.protected ReadablePartialYearMonthDay.Property.getReadablePartial()Deprecated.Gets the partial that this property belongs to.Methods in org.joda.time with parameters of type ReadablePartialModifier and TypeMethodDescriptionabstract 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.abstract 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.abstract 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.intLocalDate.compareTo(ReadablePartial partial) Compares this partial with another returning an integer indicating the order.intLocalDateTime.compareTo(ReadablePartial partial) Compares this partial with another returning an integer indicating the order.intLocalTime.compareTo(ReadablePartial partial) Compares this partial with another returning an integer indicating the order.static DaysDays.daysBetween(ReadablePartial start, ReadablePartial end) Creates aDaysrepresenting the number of whole days between the two specified partial datetimes.static PeriodPeriod.fieldDifference(ReadablePartial start, ReadablePartial end) Creates a period from two partially specified times, calculating by field difference.abstract int[]Chronology.get(ReadablePartial partial, long instant) Gets the values of a partial from an instant.abstract StringDateTimeField.getAsShortText(ReadablePartial partial, int fieldValue, Locale locale) Get the human-readable, short text value of this field from a partial instant.abstract StringDateTimeField.getAsShortText(ReadablePartial partial, Locale locale) Get the human-readable, short text value of this field from a partial instant.abstract StringDateTimeField.getAsText(ReadablePartial partial, int fieldValue, Locale locale) Get the human-readable, text value of this field from a partial instant.abstract StringDateTimeField.getAsText(ReadablePartial partial, Locale locale) Get the human-readable, text value of this field from a partial instant.abstract intDateTimeField.getMaximumValue(ReadablePartial instant) Get the maximum value for this field evaluated at the specified time.abstract intDateTimeField.getMaximumValue(ReadablePartial instant, int[] values) Get the maximum value for this field using the partial instant and the specified values.abstract intDateTimeField.getMinimumValue(ReadablePartial instant) Get the minimum value for this field evaluated at the specified time.abstract intDateTimeField.getMinimumValue(ReadablePartial instant, int[] values) Get the minimum value for this field using the partial instant and the specified values.static HoursHours.hoursBetween(ReadablePartial start, ReadablePartial end) Creates aHoursrepresenting the number of whole hours between the two specified partial datetimes.static final booleanDateTimeUtils.isContiguous(ReadablePartial partial) Checks whether the partial is contiguous.booleanPartial.isMatch(ReadablePartial partial) Does this partial match the specified partial.static MinutesMinutes.minutesBetween(ReadablePartial start, ReadablePartial end) Creates aMinutesrepresenting the number of whole minutes between the two specified partial datetimes.static MonthsMonths.monthsBetween(ReadablePartial start, ReadablePartial end) Creates aMonthsrepresenting the number of whole months between the two specified partial datetimes.static SecondsSeconds.secondsBetween(ReadablePartial start, ReadablePartial end) Creates aSecondsrepresenting the number of whole seconds between the two specified partial datetimes.abstract longChronology.set(ReadablePartial partial, long instant) Sets the partial into the instant.abstract int[]DateTimeField.set(ReadablePartial instant, int fieldIndex, int[] values, int newValue) Sets a value using the specified partial instant.abstract 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.abstract voidChronology.validate(ReadablePartial partial, int[] values) Validates whether the values are valid for the fields of a partial instant.static WeeksWeeks.weeksBetween(ReadablePartial start, ReadablePartial end) Creates aWeeksrepresenting the number of whole weeks between the two specified partial datetimes.DateMidnight.withFields(ReadablePartial partial) Deprecated.Returns a copy of this date with the partial set of fields replacing those from this instance.DateTime.withFields(ReadablePartial partial) Returns a copy of this datetime with the partial set of fields replacing those from this instance.LocalDate.withFields(ReadablePartial partial) Returns a copy of this date with the partial set of fields replacing those from this instance.LocalDateTime.withFields(ReadablePartial partial) Returns a copy of this datetime with the partial set of fields replacing those from this instance.LocalTime.withFields(ReadablePartial partial) Returns a copy of this time with the partial set of fields replacing those from this instance.static YearsYears.yearsBetween(ReadablePartial start, ReadablePartial end) Creates aYearsrepresenting the number of whole years between the two specified partial datetimes.Constructors in org.joda.time with parameters of type ReadablePartialModifierConstructorDescriptionPartial(ReadablePartial partial) Constructs a Partial by copying all the fields and types from another partial.Period(ReadablePartial start, ReadablePartial end) Creates a period from two partially specified times.Period(ReadablePartial start, ReadablePartial end, PeriodType type) Creates a period from two partially specified times. -
Uses of ReadablePartial in org.joda.time.base
Classes in org.joda.time.base that implement ReadablePartialModifier and TypeClassDescriptionclassAbstractPartial provides a standard base implementation of most methods in the ReadablePartial interface.classBaseLocal is an abstract implementation of ReadablePartial that use a local milliseconds internal representation.classBasePartial is an abstract implementation of ReadablePartial that stores data in array andChronologyfields.Methods in org.joda.time.base with parameters of type ReadablePartialModifier and TypeMethodDescriptionprotected static intBaseSingleFieldPeriod.between(ReadablePartial start, ReadablePartial end, ReadablePeriod zeroInstance) Calculates the number of whole units between the two specified partial datetimes.intAbstractPartial.compareTo(ReadablePartial other) Compares this partial with another returning an integer indicating the order.booleanAbstractPartial.isAfter(ReadablePartial partial) Is this partial later than the specified partial.booleanAbstractPartial.isBefore(ReadablePartial partial) Is this partial earlier than the specified partial.booleanAbstractPartial.isEqual(ReadablePartial partial) Is this partial the same as the specified partial.Constructors in org.joda.time.base with parameters of type ReadablePartialModifierConstructorDescriptionprotectedBasePeriod(ReadablePartial start, ReadablePartial end, PeriodType type) Creates a period from the given duration and end point. -
Uses of ReadablePartial in org.joda.time.chrono
Methods in org.joda.time.chrono with parameters of type ReadablePartialModifier and TypeMethodDescriptionint[]BaseChronology.get(ReadablePartial partial, long instant) Gets the values of a partial from an instant.longBaseChronology.set(ReadablePartial partial, long instant) Sets the partial into the instant.voidBaseChronology.validate(ReadablePartial partial, int[] values) Validates whether the fields stored in a partial instant are valid. -
Uses of ReadablePartial in org.joda.time.convert
Methods in org.joda.time.convert with parameters of type ReadablePartialModifier and TypeMethodDescriptionint[]AbstractConverter.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) 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 of ReadablePartial in org.joda.time.field
Methods in org.joda.time.field that return ReadablePartialModifier and TypeMethodDescriptionprotected abstract ReadablePartialAbstractPartialFieldProperty.getReadablePartial()Gets the partial instant being used.Methods in org.joda.time.field with parameters of type ReadablePartialModifier and TypeMethodDescriptionint[]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) int[]UnsupportedDateTimeField.add(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd) Always throws UnsupportedOperationExceptionint[]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) int[]UnsupportedDateTimeField.addWrapField(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd) Always throws UnsupportedOperationExceptionint[]ZeroIsMaxDateTimeField.addWrapField(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd) 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) int[]UnsupportedDateTimeField.addWrapPartial(ReadablePartial instant, int fieldIndex, int[] values, int valueToAdd) Always throws UnsupportedOperationExceptionintAbstractPartialFieldProperty.compareTo(ReadablePartial partial) Compare this field to the same field on another partial instant.intAbstractReadableInstantFieldProperty.compareTo(ReadablePartial partial) Compare this field to the same field on another partial instant.BaseDateTimeField.getAsShortText(ReadablePartial partial, int fieldValue, Locale locale) Get the human-readable, short text value of this field from a partial instant.final StringBaseDateTimeField.getAsShortText(ReadablePartial partial, Locale locale) Get the human-readable, short text value of this field from a partial instant.DelegatedDateTimeField.getAsShortText(ReadablePartial partial, int fieldValue, Locale locale) DelegatedDateTimeField.getAsShortText(ReadablePartial partial, Locale locale) UnsupportedDateTimeField.getAsShortText(ReadablePartial partial, int fieldValue, Locale locale) Always throws UnsupportedOperationExceptionUnsupportedDateTimeField.getAsShortText(ReadablePartial partial, Locale locale) Always throws UnsupportedOperationExceptionBaseDateTimeField.getAsText(ReadablePartial partial, int fieldValue, Locale locale) Get the human-readable, text value of this field from a partial instant.final StringBaseDateTimeField.getAsText(ReadablePartial partial, Locale locale) Get the human-readable, text value of this field from a partial instant.DelegatedDateTimeField.getAsText(ReadablePartial partial, int fieldValue, Locale locale) DelegatedDateTimeField.getAsText(ReadablePartial partial, Locale locale) UnsupportedDateTimeField.getAsText(ReadablePartial partial, int fieldValue, Locale locale) Always throws UnsupportedOperationExceptionUnsupportedDateTimeField.getAsText(ReadablePartial partial, Locale locale) Always throws UnsupportedOperationExceptionintBaseDateTimeField.getMaximumValue(ReadablePartial instant) Get the maximum value for this field evaluated at the specified instant.intBaseDateTimeField.getMaximumValue(ReadablePartial instant, int[] values) Get the maximum value for this field using the partial instant and the specified values.intDelegatedDateTimeField.getMaximumValue(ReadablePartial instant) intDelegatedDateTimeField.getMaximumValue(ReadablePartial instant, int[] values) intUnsupportedDateTimeField.getMaximumValue(ReadablePartial instant) Always throws UnsupportedOperationExceptionintUnsupportedDateTimeField.getMaximumValue(ReadablePartial instant, int[] values) Always throws UnsupportedOperationExceptionintZeroIsMaxDateTimeField.getMaximumValue(ReadablePartial instant) Get the maximum value for the field, which is one more than the wrapped field's maximum value.intZeroIsMaxDateTimeField.getMaximumValue(ReadablePartial instant, int[] values) Get the maximum value for the field, which is one more than the wrapped field's maximum value.intBaseDateTimeField.getMinimumValue(ReadablePartial instant) Get the minimum value for this field evaluated at the specified instant.intBaseDateTimeField.getMinimumValue(ReadablePartial instant, int[] values) Get the minimum value for this field using the partial instant and the specified values.intDelegatedDateTimeField.getMinimumValue(ReadablePartial instant) intDelegatedDateTimeField.getMinimumValue(ReadablePartial instant, int[] values) intUnsupportedDateTimeField.getMinimumValue(ReadablePartial instant) Always throws UnsupportedOperationExceptionintUnsupportedDateTimeField.getMinimumValue(ReadablePartial instant, int[] values) Always throws UnsupportedOperationExceptionintZeroIsMaxDateTimeField.getMinimumValue(ReadablePartial instant) Always returns 1.intZeroIsMaxDateTimeField.getMinimumValue(ReadablePartial instant, int[] values) Always returns 1.int[]BaseDateTimeField.set(ReadablePartial partial, int fieldIndex, int[] values, int newValue) Sets a value using the specified partial instant.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, int newValue) int[]DelegatedDateTimeField.set(ReadablePartial instant, int fieldIndex, int[] values, String text, Locale locale) int[]UnsupportedDateTimeField.set(ReadablePartial instant, int fieldIndex, int[] values, int newValue) Always throws UnsupportedOperationExceptionint[]UnsupportedDateTimeField.set(ReadablePartial instant, int fieldIndex, int[] values, String text, Locale locale) Always throws UnsupportedOperationException -
Uses of ReadablePartial in org.joda.time.format
Methods in org.joda.time.format with parameters of type ReadablePartialModifier and TypeMethodDescriptionDateTimeFormatter.print(ReadablePartial partial) Prints a ReadablePartial to a new String.voidDateTimeFormatter.printTo(Writer out, ReadablePartial partial) Prints a ReadablePartial.voidDateTimeFormatter.printTo(Appendable appendable, ReadablePartial partial) Prints a ReadablePartial.voidDateTimeFormatter.printTo(StringBuffer buf, ReadablePartial partial) Prints a ReadablePartial.voidDateTimeFormatter.printTo(StringBuilder buf, ReadablePartial partial) Prints a ReadablePartial.voidDateTimePrinter.printTo(Writer out, ReadablePartial partial, Locale locale) Prints a ReadablePartial.voidDateTimePrinter.printTo(StringBuffer buf, ReadablePartial partial, Locale locale) Prints a ReadablePartial.