Uses of Interface
org.joda.time.ReadablePartial
-
Packages that use ReadablePartial 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.chrono Package containing the chronology classes which define the calendar systems.org.joda.time.convert Implementation package providing conversion between date and time objects.org.joda.time.field Implementation package providing abstract and standard field classes.org.joda.time.format Provides printing and parsing support for instants and durations. -
-
Uses of ReadablePartial in org.joda.time
Classes in org.joda.time that implement ReadablePartial Modifier and Type Class Description classLocalDateLocalDate is an immutable datetime class representing a date without a time zone.classLocalDateTimeLocalDateTime is an unmodifiable datetime class representing a datetime without a time zone.classLocalTimeLocalTime is an immutable time class representing a time without a time zone.classMonthDayMonthDay is an immutable partial supporting the monthOfYear and dayOfMonth fields.classPartialPartial is an immutable partial datetime supporting any set of datetime fields.classTimeOfDayDeprecated.Use LocalTime which has a much better internal implementation and has been available since 1.3classYearMonthYearMonth is an immutable partial supporting the year and monthOfYear fields.classYearMonthDayDeprecated.Use LocalDate which has a much better internal implementation and has been available since 1.3Methods in org.joda.time that return ReadablePartial Modifier and Type Method Description protected 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 ReadablePartial Modifier and Type Method Description abstract 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 java.lang.StringDateTimeField. getAsShortText(ReadablePartial partial, int fieldValue, java.util.Locale locale)Get the human-readable, short text value of this field from a partial instant.abstract java.lang.StringDateTimeField. getAsShortText(ReadablePartial partial, java.util.Locale locale)Get the human-readable, short text value of this field from a partial instant.abstract java.lang.StringDateTimeField. getAsText(ReadablePartial partial, int fieldValue, java.util.Locale locale)Get the human-readable, text value of this field from a partial instant.abstract java.lang.StringDateTimeField. getAsText(ReadablePartial partial, java.util.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 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, java.lang.String text, java.util.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.DateMidnightDateMidnight. withFields(ReadablePartial partial)Deprecated.Returns a copy of this date with the partial set of fields replacing those from this instance.DateTimeDateTime. withFields(ReadablePartial partial)Returns a copy of this datetime with the partial set of fields replacing those from this instance.LocalDateLocalDate. withFields(ReadablePartial partial)Returns a copy of this date with the partial set of fields replacing those from this instance.LocalDateTimeLocalDateTime. withFields(ReadablePartial partial)Returns a copy of this datetime with the partial set of fields replacing those from this instance.LocalTimeLocalTime. 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 ReadablePartial Constructor Description Partial(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 ReadablePartial Modifier and Type Class Description classAbstractPartialAbstractPartial provides a standard base implementation of most methods in the ReadablePartial interface.classBaseLocalBaseLocal is an abstract implementation of ReadablePartial that use a local milliseconds internal representation.classBasePartialBasePartial is an abstract implementation of ReadablePartial that stores data in array andChronologyfields.Methods in org.joda.time.base with parameters of type ReadablePartial Modifier and Type Method Description protected 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 ReadablePartial Constructor Description BasePeriod(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 ReadablePartial Modifier and Type Method Description int[]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 ReadablePartial Modifier and Type Method Description int[]AbstractConverter. getPartialValues(ReadablePartial fieldSource, java.lang.Object object, Chronology chrono)Extracts the values of the partial from an object of this converter's type.int[]AbstractConverter. getPartialValues(ReadablePartial fieldSource, java.lang.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, java.lang.Object object, Chronology chrono)Extracts the values of the partial from an object of this converter's type.int[]PartialConverter. getPartialValues(ReadablePartial fieldSource, java.lang.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 ReadablePartial Modifier and Type Method Description protected abstract ReadablePartialAbstractPartialFieldProperty. getReadablePartial()Gets the partial instant being used.Methods in org.joda.time.field with parameters of type ReadablePartial Modifier and Type Method Description 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)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.java.lang.StringBaseDateTimeField. getAsShortText(ReadablePartial partial, int fieldValue, java.util.Locale locale)Get the human-readable, short text value of this field from a partial instant.java.lang.StringBaseDateTimeField. getAsShortText(ReadablePartial partial, java.util.Locale locale)Get the human-readable, short text value of this field from a partial instant.java.lang.StringDelegatedDateTimeField. getAsShortText(ReadablePartial partial, int fieldValue, java.util.Locale locale)java.lang.StringDelegatedDateTimeField. getAsShortText(ReadablePartial partial, java.util.Locale locale)java.lang.StringUnsupportedDateTimeField. getAsShortText(ReadablePartial partial, int fieldValue, java.util.Locale locale)Always throws UnsupportedOperationExceptionjava.lang.StringUnsupportedDateTimeField. getAsShortText(ReadablePartial partial, java.util.Locale locale)Always throws UnsupportedOperationExceptionjava.lang.StringBaseDateTimeField. getAsText(ReadablePartial partial, int fieldValue, java.util.Locale locale)Get the human-readable, text value of this field from a partial instant.java.lang.StringBaseDateTimeField. getAsText(ReadablePartial partial, java.util.Locale locale)Get the human-readable, text value of this field from a partial instant.java.lang.StringDelegatedDateTimeField. getAsText(ReadablePartial partial, int fieldValue, java.util.Locale locale)java.lang.StringDelegatedDateTimeField. getAsText(ReadablePartial partial, java.util.Locale locale)java.lang.StringUnsupportedDateTimeField. getAsText(ReadablePartial partial, int fieldValue, java.util.Locale locale)Always throws UnsupportedOperationExceptionjava.lang.StringUnsupportedDateTimeField. getAsText(ReadablePartial partial, java.util.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, java.lang.String text, java.util.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, java.lang.String text, java.util.Locale locale)int[]UnsupportedDateTimeField. set(ReadablePartial instant, int fieldIndex, int[] values, int newValue)Always throws UnsupportedOperationExceptionint[]UnsupportedDateTimeField. set(ReadablePartial instant, int fieldIndex, int[] values, java.lang.String text, java.util.Locale locale)Always throws UnsupportedOperationException -
Uses of ReadablePartial in org.joda.time.format
Methods in org.joda.time.format with parameters of type ReadablePartial Modifier and Type Method Description java.lang.StringDateTimeFormatter. print(ReadablePartial partial)Prints a ReadablePartial to a new String.voidDateTimeFormatter. printTo(java.io.Writer out, ReadablePartial partial)Prints a ReadablePartial.voidDateTimeFormatter. printTo(java.lang.Appendable appendable, ReadablePartial partial)Prints a ReadablePartial.voidDateTimeFormatter. printTo(java.lang.StringBuffer buf, ReadablePartial partial)Prints a ReadablePartial.voidDateTimeFormatter. printTo(java.lang.StringBuilder buf, ReadablePartial partial)Prints a ReadablePartial.voidDateTimePrinter. printTo(java.io.Writer out, ReadablePartial partial, java.util.Locale locale)Prints a ReadablePartial.voidDateTimePrinter. printTo(java.lang.StringBuffer buf, ReadablePartial partial, java.util.Locale locale)Prints a ReadablePartial.
-