- parseDataFile(BufferedReader) - Method in class org.joda.time.tz.ZoneInfoCompiler
-
- parseDateTime(String) - Method in class org.joda.time.format.DateTimeFormatter
-
Parses a datetime from the given text, returning a new DateTime.
- parseDays(String) - Static method in class org.joda.time.Days
-
Creates a new Days
by parsing a string in the ISO8601 format 'PnD'.
- parseHours(String) - Static method in class org.joda.time.Hours
-
Creates a new Hours
by parsing a string in the ISO8601 format 'PTnH'.
- parseInto(ReadWritableInstant, String, int) - Method in class org.joda.time.format.DateTimeFormatter
-
Parses a datetime from the given text, at the given position, saving the
result into the fields of the given ReadWritableInstant.
- parseInto(DateTimeParserBucket, String, int) - Method in interface org.joda.time.format.DateTimeParser
-
Parse an element from the given text, saving any fields into the given
DateTimeParserBucket.
- parseInto(ReadWritablePeriod, String, int) - Method in class org.joda.time.format.PeriodFormatter
-
Parses a period from the given text, at the given position, saving the
result into the fields of the given ReadWritablePeriod.
- parseInto(ReadWritablePeriod, String, int, Locale) - Method in interface org.joda.time.format.PeriodParser
-
Parses a period from the given text, at the given position, saving the
result into the fields of the given ReadWritablePeriod.
- parseMillis(String) - Method in class org.joda.time.format.DateTimeFormatter
-
Parses a datetime from the given text, returning the number of
milliseconds since the epoch, 1970-01-01T00:00:00Z.
- parseMinutes(String) - Static method in class org.joda.time.Minutes
-
Creates a new Minutes
by parsing a string in the ISO8601 format 'PTnM'.
- parseMonths(String) - Static method in class org.joda.time.Months
-
Creates a new Months
by parsing a string in the ISO8601 format 'PnM'.
- parseMutableDateTime(String) - Method in class org.joda.time.format.DateTimeFormatter
-
Parses a datetime from the given text, returning a new MutableDateTime.
- parseMutablePeriod(String) - Method in class org.joda.time.format.PeriodFormatter
-
Parses a period from the given text, returning a new MutablePeriod.
- parsePeriod(String) - Method in class org.joda.time.format.PeriodFormatter
-
Parses a period from the given text, returning a new Period.
- parseSeconds(String) - Static method in class org.joda.time.Seconds
-
Creates a new Seconds
by parsing a string in the ISO8601 format 'PTnS'.
- parseWeeks(String) - Static method in class org.joda.time.Weeks
-
Creates a new Weeks
by parsing a string in the ISO8601 format 'PnW'.
- parseYears(String) - Static method in class org.joda.time.Years
-
Creates a new Years
by parsing a string in the ISO8601 format 'PnY'.
- Partial - Class in org.joda.time
-
Partial is an immutable partial datetime supporting any set of datetime fields.
- Partial() - Constructor for class org.joda.time.Partial
-
Constructs a Partial with no fields or values, which can be considered
to represent any date.
- Partial(Chronology) - Constructor for class org.joda.time.Partial
-
Constructs a Partial with no fields or values, which can be considered
to represent any date.
- Partial(DateTimeFieldType, int) - Constructor for class org.joda.time.Partial
-
Constructs a Partial with the specified field and value.
- Partial(DateTimeFieldType, int, Chronology) - Constructor for class org.joda.time.Partial
-
Constructs a Partial with the specified field and value.
- Partial(DateTimeFieldType[], int[]) - Constructor for class org.joda.time.Partial
-
Constructs a Partial with the specified fields and values.
- Partial(DateTimeFieldType[], int[], Chronology) - Constructor for class org.joda.time.Partial
-
Constructs a Partial with the specified fields and values.
- Partial(ReadablePartial) - Constructor for class org.joda.time.Partial
-
Constructs a Partial by copying all the fields and types from
another partial.
- Partial.Property - Class in org.joda.time
-
The property class for Partial
.
- PartialConverter - Interface in org.joda.time.convert
-
PartialConverter defines how an object is converted to a ReadablePartial.
- patternForStyle(String, Locale) - Static method in class org.joda.time.format.DateTimeFormat
-
Returns the pattern used by a particular style and locale.
- Period - Class in org.joda.time
-
An immutable time period specifying a set of duration field values.
- Period() - Constructor for class org.joda.time.Period
-
Creates a new empty period with the standard set of fields.
- Period(int, int, int, int) - Constructor for class org.joda.time.Period
-
Create a period from a set of field values using the standard set of fields.
- Period(int, int, int, int, int, int, int, int) - Constructor for class org.joda.time.Period
-
Create a period from a set of field values using the standard set of fields.
- Period(int, int, int, int, int, int, int, int, PeriodType) - Constructor for class org.joda.time.Period
-
Create a period from a set of field values.
- Period(long) - Constructor for class org.joda.time.Period
-
Creates a period from the given millisecond duration using the standard
set of fields.
- Period(long, PeriodType) - Constructor for class org.joda.time.Period
-
Creates a period from the given millisecond duration.
- Period(long, Chronology) - Constructor for class org.joda.time.Period
-
Creates a period from the given millisecond duration using the standard
set of fields.
- Period(long, PeriodType, Chronology) - Constructor for class org.joda.time.Period
-
Creates a period from the given millisecond duration.
- Period(long, long) - Constructor for class org.joda.time.Period
-
Creates a period from the given interval endpoints using the standard
set of fields.
- Period(long, long, PeriodType) - Constructor for class org.joda.time.Period
-
Creates a period from the given interval endpoints.
- Period(long, long, Chronology) - Constructor for class org.joda.time.Period
-
Creates a period from the given interval endpoints using the standard
set of fields.
- Period(long, long, PeriodType, Chronology) - Constructor for class org.joda.time.Period
-
Creates a period from the given interval endpoints.
- Period(ReadableInstant, ReadableInstant) - Constructor for class org.joda.time.Period
-
Creates a period from the given interval endpoints using the standard
set of fields.
- Period(ReadableInstant, ReadableInstant, PeriodType) - Constructor for class org.joda.time.Period
-
Creates a period from the given interval endpoints.
- Period(ReadablePartial, ReadablePartial) - Constructor for class org.joda.time.Period
-
Creates a period from two partially specified times.
- Period(ReadablePartial, ReadablePartial, PeriodType) - Constructor for class org.joda.time.Period
-
Creates a period from two partially specified times.
- Period(ReadableInstant, ReadableDuration) - Constructor for class org.joda.time.Period
-
Creates a period from the given start point and the duration.
- Period(ReadableInstant, ReadableDuration, PeriodType) - Constructor for class org.joda.time.Period
-
Creates a period from the given start point and the duration.
- Period(ReadableDuration, ReadableInstant) - Constructor for class org.joda.time.Period
-
Creates a period from the given duration and end point.
- Period(ReadableDuration, ReadableInstant, PeriodType) - Constructor for class org.joda.time.Period
-
Creates a period from the given duration and end point.
- Period(Object) - Constructor for class org.joda.time.Period
-
Creates a period by converting or copying from another object.
- Period(Object, PeriodType) - Constructor for class org.joda.time.Period
-
Creates a period by converting or copying from another object.
- Period(Object, Chronology) - Constructor for class org.joda.time.Period
-
Creates a period by converting or copying from another object.
- Period(Object, PeriodType, Chronology) - Constructor for class org.joda.time.Period
-
Creates a period by converting or copying from another object.
- PeriodConverter - Interface in org.joda.time.convert
-
PeriodConverter defines how an object is converted to a time period.
- PeriodFormat - Class in org.joda.time.format
-
Factory that creates instances of PeriodFormatter.
- PeriodFormat() - Constructor for class org.joda.time.format.PeriodFormat
-
Constructor.
- PeriodFormatter - Class in org.joda.time.format
-
Controls the printing and parsing of a time period to and from a string.
- PeriodFormatter(PeriodPrinter, PeriodParser) - Constructor for class org.joda.time.format.PeriodFormatter
-
Creates a new formatter, however you will normally use the factory
or the builder.
- PeriodFormatterBuilder - Class in org.joda.time.format
-
Factory that creates complex instances of PeriodFormatter via method calls.
- PeriodFormatterBuilder() - Constructor for class org.joda.time.format.PeriodFormatterBuilder
-
- PeriodParser - Interface in org.joda.time.format
-
Internal interface for parsing textual representations of time periods.
- PeriodPrinter - Interface in org.joda.time.format
-
Internal interface for printing textual representations of time periods.
- PeriodType - Class in org.joda.time
-
Controls a period implementation by specifying which duration fields are to be used.
- PeriodType(String, DurationFieldType[], int[]) - Constructor for class org.joda.time.PeriodType
-
Constructor.
- plus(long) - Method in class org.joda.time.DateMidnight
-
Returns a copy of this date with the specified duration added.
- plus(ReadableDuration) - Method in class org.joda.time.DateMidnight
-
Returns a copy of this date with the specified duration added.
- plus(ReadablePeriod) - Method in class org.joda.time.DateMidnight
-
Returns a copy of this date with the specified period added.
- plus(long) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the specified duration added.
- plus(ReadableDuration) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the specified duration added.
- plus(ReadablePeriod) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the specified period added.
- plus(int) - Method in class org.joda.time.Days
-
Returns a new instance with the specified number of days added.
- plus(Days) - Method in class org.joda.time.Days
-
Returns a new instance with the specified number of days added.
- plus(long) - Method in class org.joda.time.Duration
-
Returns a new duration with this length plus that specified.
- plus(ReadableDuration) - Method in class org.joda.time.Duration
-
Returns a new duration with this length plus that specified.
- plus(int) - Method in class org.joda.time.Hours
-
Returns a new instance with the specified number of hours added.
- plus(Hours) - Method in class org.joda.time.Hours
-
Returns a new instance with the specified number of hours added.
- plus(long) - Method in class org.joda.time.Instant
-
Gets a copy of this instant with the specified duration added.
- plus(ReadableDuration) - Method in class org.joda.time.Instant
-
Gets a copy of this instant with the specified duration added.
- plus(ReadablePeriod) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date with the specified period added.
- plus(ReadableDuration) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the specified duration added.
- plus(ReadablePeriod) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the specified period added.
- plus(ReadablePeriod) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time with the specified period added.
- plus(int) - Method in class org.joda.time.Minutes
-
Returns a new instance with the specified number of minutes added.
- plus(Minutes) - Method in class org.joda.time.Minutes
-
Returns a new instance with the specified number of minutes added.
- plus(int) - Method in class org.joda.time.Months
-
Returns a new instance with the specified number of months added.
- plus(Months) - Method in class org.joda.time.Months
-
Returns a new instance with the specified number of months added.
- plus(ReadablePeriod) - Method in class org.joda.time.Partial
-
Gets a copy of this instance with the specified period added.
- plus(ReadablePeriod) - Method in class org.joda.time.Period
-
Returns a new period with the specified period added.
- plus(int) - Method in class org.joda.time.Seconds
-
Returns a new instance with the specified number of seconds added.
- plus(Seconds) - Method in class org.joda.time.Seconds
-
Returns a new instance with the specified number of seconds added.
- plus(ReadablePeriod) - Method in class org.joda.time.TimeOfDay
-
Deprecated.
Returns a copy of this time with the specified period added,
wrapping to what would be a new day if required.
- plus(int) - Method in class org.joda.time.Weeks
-
Returns a new instance with the specified number of weeks added.
- plus(Weeks) - Method in class org.joda.time.Weeks
-
Returns a new instance with the specified number of weeks added.
- plus(ReadablePeriod) - Method in class org.joda.time.YearMonthDay
-
Deprecated.
Returns a copy of this date with the specified period added.
- plus(int) - Method in class org.joda.time.Years
-
Returns a new instance with the specified number of years added.
- plus(Years) - Method in class org.joda.time.Years
-
Returns a new instance with the specified number of years added.
- plusDays(int) - Method in class org.joda.time.DateMidnight
-
Returns a copy of this date plus the specified number of days.
- plusDays(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime plus the specified number of days.
- plusDays(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date plus the specified number of days.
- plusDays(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime plus the specified number of days.
- plusDays(int) - Method in class org.joda.time.Period
-
Returns a new period plus the specified number of days added.
- plusDays(int) - Method in class org.joda.time.YearMonthDay
-
Deprecated.
Returns a copy of this date plus the specified number of days.
- plusHours(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime plus the specified number of hours.
- plusHours(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime plus the specified number of hours.
- plusHours(int) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time plus the specified number of hours.
- plusHours(int) - Method in class org.joda.time.Period
-
Returns a new period plus the specified number of hours added.
- plusHours(int) - Method in class org.joda.time.TimeOfDay
-
Deprecated.
Returns a copy of this time plus the specified number of hours.
- plusMillis(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime plus the specified number of millis.
- plusMillis(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime plus the specified number of millis.
- plusMillis(int) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time plus the specified number of millis.
- plusMillis(int) - Method in class org.joda.time.Period
-
Returns a new period plus the specified number of millis added.
- plusMillis(int) - Method in class org.joda.time.TimeOfDay
-
Deprecated.
Returns a copy of this time plus the specified number of millis.
- plusMinutes(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime plus the specified number of minutes.
- plusMinutes(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime plus the specified number of minutes.
- plusMinutes(int) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time plus the specified number of minutes.
- plusMinutes(int) - Method in class org.joda.time.Period
-
Returns a new period plus the specified number of minutes added.
- plusMinutes(int) - Method in class org.joda.time.TimeOfDay
-
Deprecated.
Returns a copy of this time plus the specified number of minutes.
- plusMonths(int) - Method in class org.joda.time.DateMidnight
-
Returns a copy of this date plus the specified number of months.
- plusMonths(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime plus the specified number of months.
- plusMonths(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date plus the specified number of months.
- plusMonths(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime plus the specified number of months.
- plusMonths(int) - Method in class org.joda.time.Period
-
Returns a new period plus the specified number of months added.
- plusMonths(int) - Method in class org.joda.time.YearMonthDay
-
Deprecated.
Returns a copy of this date plus the specified number of months.
- plusSeconds(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime plus the specified number of seconds.
- plusSeconds(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime plus the specified number of seconds.
- plusSeconds(int) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time plus the specified number of seconds.
- plusSeconds(int) - Method in class org.joda.time.Period
-
Returns a new period plus the specified number of seconds added.
- plusSeconds(int) - Method in class org.joda.time.TimeOfDay
-
Deprecated.
Returns a copy of this time plus the specified number of seconds.
- plusWeeks(int) - Method in class org.joda.time.DateMidnight
-
Returns a copy of this date plus the specified number of weeks.
- plusWeeks(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime plus the specified number of weeks.
- plusWeeks(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date plus the specified number of weeks.
- plusWeeks(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime plus the specified number of weeks.
- plusWeeks(int) - Method in class org.joda.time.Period
-
Returns a new period plus the specified number of weeks added.
- plusYears(int) - Method in class org.joda.time.DateMidnight
-
Returns a copy of this date plus the specified number of years.
- plusYears(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime plus the specified number of years.
- plusYears(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date plus the specified number of years.
- plusYears(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime plus the specified number of years.
- plusYears(int) - Method in class org.joda.time.Period
-
Returns a new period with the specified number of years added.
- plusYears(int) - Method in class org.joda.time.YearMonthDay
-
Deprecated.
Returns a copy of this date plus the specified number of years.
- PM - Static variable in class org.joda.time.DateTimeConstants
-
Constant (1) representing PM, the afternoon (from Calendar)
- PreciseDateTimeField - Class in org.joda.time.field
-
Precise datetime field, composed of two precise duration fields.
- PreciseDateTimeField(DateTimeFieldType, DurationField, DurationField) - Constructor for class org.joda.time.field.PreciseDateTimeField
-
Constructor.
- PreciseDurationDateTimeField - Class in org.joda.time.field
-
Precise datetime field, which has a precise unit duration field.
- PreciseDurationDateTimeField(DateTimeFieldType, DurationField) - Constructor for class org.joda.time.field.PreciseDurationDateTimeField
-
Constructor.
- PreciseDurationField - Class in org.joda.time.field
-
Duration field class representing a field with a fixed unit length.
- PreciseDurationField(DurationFieldType, long) - Constructor for class org.joda.time.field.PreciseDurationField
-
Constructor.
- prependMessage(String) - Method in exception org.joda.time.IllegalFieldValueException
-
Provide additional detail by prepending a message to the existing message.
- previousTransition(long) - Method in class org.joda.time.DateTimeZone
-
Retreats the given instant to where the time zone offset or name changes.
- previousTransition(long) - Method in class org.joda.time.tz.CachedDateTimeZone
-
- previousTransition(long) - Method in class org.joda.time.tz.FixedDateTimeZone
-
- print(ReadableInstant) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints a ReadableInstant to a String.
- print(long) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints a millisecond instant to a String.
- print(ReadablePartial) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints a ReadablePartial to a new String.
- print(ReadablePeriod) - Method in class org.joda.time.format.PeriodFormatter
-
Prints a ReadablePeriod to a new String.
- printTo(StringBuffer, ReadableInstant) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints a ReadableInstant, using the chronology supplied by the instant.
- printTo(Writer, ReadableInstant) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints a ReadableInstant, using the chronology supplied by the instant.
- printTo(StringBuffer, long) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints an instant from milliseconds since 1970-01-01T00:00:00Z,
using ISO chronology in the default DateTimeZone.
- printTo(Writer, long) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints an instant from milliseconds since 1970-01-01T00:00:00Z,
using ISO chronology in the default DateTimeZone.
- printTo(StringBuffer, ReadablePartial) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints a ReadablePartial.
- printTo(Writer, ReadablePartial) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints a ReadablePartial.
- printTo(StringBuffer, long, Chronology, int, DateTimeZone, Locale) - Method in interface org.joda.time.format.DateTimePrinter
-
Prints an instant from milliseconds since 1970-01-01T00:00:00Z,
using the given Chronology.
- printTo(Writer, long, Chronology, int, DateTimeZone, Locale) - Method in interface org.joda.time.format.DateTimePrinter
-
Prints an instant from milliseconds since 1970-01-01T00:00:00Z,
using the given Chronology.
- printTo(StringBuffer, ReadablePartial, Locale) - Method in interface org.joda.time.format.DateTimePrinter
-
Prints a ReadablePartial.
- printTo(Writer, ReadablePartial, Locale) - Method in interface org.joda.time.format.DateTimePrinter
-
Prints a ReadablePartial.
- printTo(StringBuffer, ReadablePeriod) - Method in class org.joda.time.format.PeriodFormatter
-
Prints a ReadablePeriod to a StringBuffer.
- printTo(Writer, ReadablePeriod) - Method in class org.joda.time.format.PeriodFormatter
-
Prints a ReadablePeriod to a Writer.
- printTo(StringBuffer, ReadablePeriod, Locale) - Method in interface org.joda.time.format.PeriodPrinter
-
Prints a ReadablePeriod to a StringBuffer.
- printTo(Writer, ReadablePeriod, Locale) - Method in interface org.joda.time.format.PeriodPrinter
-
Prints a ReadablePeriod to a Writer.
- printZeroAlways() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Always print zero values for the next and following appended fields,
even if the period doesn't support it.
- printZeroIfSupported() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Print zero values for the next and following appened fields only if the
period supports it.
- printZeroNever() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Never print zero values for the next and following appended fields,
unless no fields would be printed.
- printZeroRarelyFirst() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Never print zero values for the next and following appended fields,
unless no fields would be printed.
- printZeroRarelyLast() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Never print zero values for the next and following appended fields,
unless no fields would be printed.
- property(DateTimeFieldType) - Method in class org.joda.time.DateMidnight
-
Gets the property object for the specified type, which contains many useful methods.
- property(DateTimeFieldType) - Method in class org.joda.time.DateTime
-
Gets the property object for the specified type, which contains many useful methods.
- property(DateTimeFieldType) - Method in class org.joda.time.LocalDate
-
Gets the property object for the specified type, which contains many
useful methods.
- property(DateTimeFieldType) - Method in class org.joda.time.LocalDateTime
-
Gets the property object for the specified type, which contains many
useful methods.
- property(DateTimeFieldType) - Method in class org.joda.time.LocalTime
-
Gets the property object for the specified type, which contains
many useful methods.
- property(DateTimeFieldType) - Method in class org.joda.time.MutableDateTime
-
Gets the property object for the specified type, which contains many useful methods.
- property(DateTimeFieldType) - Method in class org.joda.time.Partial
-
Gets the property object for the specified type, which contains
many useful methods for getting and manipulating the partial.
- property(DateTimeFieldType) - Method in class org.joda.time.TimeOfDay
-
Deprecated.
Gets the property object for the specified type, which contains
many useful methods.
- property(DateTimeFieldType) - Method in class org.joda.time.YearMonthDay
-
Deprecated.
Gets the property object for the specified type, which contains
many useful methods.
- Provider - Interface in org.joda.time.tz
-
Service provider factory for time zones.