Uses of Class org.joda.time.Period

Uses in package org.joda.time

Fields of type org.joda.time.Period

Period
A period of zero length and standard period type.

Methods with return type org.joda.time.Period

Period
Period.days(int days)
Create a period with a specified number of days.
Period
Creates a period from two partially specified times, calculating by field difference.
Period
Period.hours(int hours)
Create a period with a specified number of hours.
Period
Period.millis(int millis)
Create a period with a specified number of millis.
Period
Returns a new period with the specified period subtracted.
Period
Period.minusDays(int days)
Returns a new period minus the specified number of days taken away.
Period
Period.minusHours(int hours)
Returns a new period minus the specified number of hours taken away.
Period
Period.minusMillis(int millis)
Returns a new period minus the specified number of millis taken away.
Period
Period.minusMinutes(int minutes)
Returns a new period minus the specified number of minutes taken away.
Period
Period.minusMonths(int months)
Returns a new period minus the specified number of months taken away.
Period
Period.minusSeconds(int seconds)
Returns a new period minus the specified number of seconds taken away.
Period
Period.minusWeeks(int weeks)
Returns a new period minus the specified number of weeks taken away.
Period
Period.minusYears(int years)
Returns a new period with the specified number of years taken away.
Period
Period.minutes(int minutes)
Create a period with a specified number of minutes.
Period
Period.months(int months)
Create a period with a specified number of months.
Period
Normalizes this period using standard rules, assuming a 12 month year, 7 day week, 24 hour day, 60 minute hour and 60 second minute.
Period
Normalizes this period using standard rules, assuming a 12 month year, 7 day week, 24 hour day, 60 minute hour and 60 second minute, providing control over how the result is split into fields.
Period
Returns a new period with the specified period added.
Period
Period.plusDays(int days)
Returns a new period plus the specified number of days added.
Period
Period.plusHours(int hours)
Returns a new period plus the specified number of hours added.
Period
Period.plusMillis(int millis)
Returns a new period plus the specified number of millis added.
Period
Period.plusMinutes(int minutes)
Returns a new period plus the specified number of minutes added.
Period
Period.plusMonths(int months)
Returns a new period plus the specified number of months added.
Period
Period.plusSeconds(int seconds)
Returns a new period plus the specified number of seconds added.
Period
Period.plusWeeks(int weeks)
Returns a new period plus the specified number of weeks added.
Period
Period.plusYears(int years)
Returns a new period with the specified number of years added.
Period
Period.seconds(int seconds)
Create a period with a specified number of seconds.
Period
Get this period as an immutable Period object by returning this.
Period
Converts this duration to a Period instance using the standard period type and the ISO chronology.
Period
Converts the duration of the interval to a period using the standard period type.
Period
Get this period as an immutable Period object.
Period
Converts the duration of the interval to a period using the specified period type.
Period
Period.weeks(int weeks)
Create a period with a specified number of weeks.
Period
Period.withDays(int days)
Returns a new period with the specified number of days.
Period
Period.withField(DurationFieldType field, int value)
Creates a new Period instance with the specified field set to a new value.
Period
Creates a new Period instance with the valueToAdd added to the specified field.
Period
Creates a new Period instance with the fields from the specified period copied on top of those from this period.
Period
Period.withHours(int hours)
Returns a new period with the specified number of hours.
Period
Period.withMillis(int millis)
Returns a new period with the specified number of millis.
Period
Period.withMinutes(int minutes)
Returns a new period with the specified number of minutes.
Period
Period.withMonths(int months)
Returns a new period with the specified number of months.
Period
Creates a new Period instance with the same field values but different PeriodType.
Period
Period.withSeconds(int seconds)
Returns a new period with the specified number of seconds.
Period
Period.withWeeks(int weeks)
Returns a new period with the specified number of weeks.
Period
Period.withYears(int years)
Returns a new period with the specified number of years.
Period
Period.years(int years)
Create a period with a specified number of years.

Uses in package org.joda.time.format

Methods with return type org.joda.time.Period

Period
Parses a period from the given text, returning a new Period.

Uses in package org.joda.time.base

Methods with return type org.joda.time.Period

Period
Converts this duration to a Period instance using the standard period type and the ISO chronology.
Period
Converts the duration of the interval to a Period using the All period type.
Period
Get this period as an immutable Period object.
Period
Get this period as an immutable Period object.
Period
Converts this duration to a Period instance using the standard period type and the specified chronology.
Period
Converts the duration of the interval to a Period using the specified period type.
Period
Converts this duration to a Period instance using the specified period type and the ISO chronology.
Period
Converts this duration to a Period instance using the specified period type and chronology.
Period
Converts this duration to a Period instance by adding the duration to a start instant to obtain an interval using the standard period type.
Period
Converts this duration to a Period instance by adding the duration to a start instant to obtain an interval.
Period
Converts this duration to a Period instance by subtracting the duration from an end instant to obtain an interval using the standard period type.
Period
Converts this duration to a Period instance by subtracting the duration from an end instant to obtain an interval using the standard period type.

Copyright (c) 2001-2006 - Joda.org