Uses of Interface
org.joda.time.ReadablePeriod

Packages that use ReadablePeriod
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.format Provides printing and parsing support for instants and durations. 
 

Uses of ReadablePeriod in org.joda.time
 

Subinterfaces of ReadablePeriod in org.joda.time
 interface ReadWritablePeriod
          Defines a duration of time that can be queried and modified using datetime fields.
 

Classes in org.joda.time that implement ReadablePeriod
 class MutablePeriod
          Standard mutable time period implementation.
 class Period
          An immutable time period specifying a set of duration field values.
 

Methods in org.joda.time with parameters of type ReadablePeriod
abstract  int[] Chronology.get(ReadablePeriod period, long startInstant, long endInstant)
          Gets the values of a period from an interval.
abstract  int[] Chronology.get(ReadablePeriod period, long duration)
          Gets the values of a period from an interval.
abstract  long Chronology.add(ReadablePeriod period, long instant, int scalar)
          Adds the period to the instant, specifying the number of times to add.
 DateTime DateTime.withPeriodAdded(ReadablePeriod period, int scalar)
          Gets a copy of this datetime with the specified period added.
 DateTime DateTime.plus(ReadablePeriod period)
          Gets a copy of this datetime with the specified period added.
 DateTime DateTime.minus(ReadablePeriod period)
          Gets a copy of this datetime with the specified period take away.
 void MutableDateTime.add(ReadablePeriod period)
          Adds a period to this instant.
 void MutableDateTime.add(ReadablePeriod period, int scalar)
          Adds a period to this instant specifying how many times to add.
 void ReadWritableInstant.add(ReadablePeriod period)
          Adds a period to this instant.
 void ReadWritableInstant.add(ReadablePeriod period, int scalar)
          Adds a period to this instant specifying how many times to add.
 Period Period.withFields(ReadablePeriod period)
          Creates a new Period instance with the fields from the specified period copied on top of those from this period.
 DateMidnight DateMidnight.withPeriodAdded(ReadablePeriod period, int scalar)
          Gets a copy of this datetime with the specified period added.
 DateMidnight DateMidnight.plus(ReadablePeriod period)
          Gets a copy of this datetime with the specified period added.
 DateMidnight DateMidnight.minus(ReadablePeriod period)
          Gets a copy of this datetime with the specified period take away.
 YearMonthDay YearMonthDay.withPeriodAdded(ReadablePeriod period, int scalar)
          Gets a copy of this date with the specified period added.
 YearMonthDay YearMonthDay.plus(ReadablePeriod period)
          Gets a copy of this instance with the specified period added.
 YearMonthDay YearMonthDay.minus(ReadablePeriod period)
          Gets a copy of this instance with the specified period take away.
 TimeOfDay TimeOfDay.withPeriodAdded(ReadablePeriod period, int scalar)
          Gets a copy of this date with the specified period added, wrapping to what would be a new day if required.
 TimeOfDay TimeOfDay.plus(ReadablePeriod period)
          Gets a copy of this instance with the specified period added, wrapping to what would be a new day if required.
 TimeOfDay TimeOfDay.minus(ReadablePeriod period)
          Gets a copy of this instance with the specified period take away, wrapping to what would be a new day if required.
 Interval Interval.withPeriodAfterStart(ReadablePeriod period)
          Creates a new interval with the specified period after the start instant.
 Interval Interval.withPeriodBeforeEnd(ReadablePeriod period)
          Creates a new interval with the specified period before the end instant.
 void MutablePeriod.setPeriod(ReadablePeriod period)
          Sets all the fields in one go from another ReadablePeriod.
 void MutablePeriod.add(ReadablePeriod period)
          Adds a period to this one by adding each field in turn.
 void MutablePeriod.mergePeriod(ReadablePeriod period)
          Merges all the fields from the specified period into this one.
 void ReadWritablePeriod.setPeriod(ReadablePeriod period)
          Sets all the fields in one go from another ReadablePeriod.
 void ReadWritablePeriod.add(ReadablePeriod period)
          Adds a period to this one by adding each field in turn.
 void MutableInterval.setPeriodAfterStart(ReadablePeriod period)
          Sets the period of this time interval, preserving the start instant and using the ISOChronology in the default zone for calculations.
 void MutableInterval.setPeriodBeforeEnd(ReadablePeriod period)
          Sets the period of this time interval, preserving the end instant and using the ISOChronology in the default zone for calculations.
 void ReadWritableInterval.setPeriodAfterStart(ReadablePeriod period)
          Sets the period of this time interval, preserving the start instant.
 void ReadWritableInterval.setPeriodBeforeEnd(ReadablePeriod period)
          Sets the period of this time interval, preserving the end instant.
 Partial Partial.withPeriodAdded(ReadablePeriod period, int scalar)
          Gets a copy of this Partial with the specified period added.
 Partial Partial.plus(ReadablePeriod period)
          Gets a copy of this instance with the specified period added.
 Partial Partial.minus(ReadablePeriod period)
          Gets a copy of this instance with the specified period take away.
 

Constructors in org.joda.time with parameters of type ReadablePeriod
Interval(ReadableInstant start, ReadablePeriod period)
          Constructs an interval from a start instant and a time period.
Interval(ReadablePeriod period, ReadableInstant end)
          Constructs an interval from a time period and an end instant.
MutableInterval(ReadableInstant start, ReadablePeriod period)
          Constructs an interval from a start instant and a time period.
MutableInterval(ReadablePeriod period, ReadableInstant end)
          Constructs an interval from a time period and an end instant.
 

Uses of ReadablePeriod in org.joda.time.base
 

Classes in org.joda.time.base that implement ReadablePeriod
 class AbstractPeriod
          AbstractPeriod provides the common behaviour for period classes.
 class BasePeriod
          BasePeriod is an abstract implementation of ReadablePeriod that stores data in a PeriodType and an int[].
 

Uses of ReadablePeriod in org.joda.time.chrono
 

Methods in org.joda.time.chrono with parameters of type ReadablePeriod
 int[] BaseChronology.get(ReadablePeriod period, long startInstant, long endInstant)
          Gets the values of a period from an interval.
 int[] BaseChronology.get(ReadablePeriod period, long duration)
          Gets the values of a period from an interval.
 long BaseChronology.add(ReadablePeriod period, long instant, int scalar)
          Adds the period to the instant, specifying the number of times to add.
 

Uses of ReadablePeriod in org.joda.time.format
 

Methods in org.joda.time.format with parameters of type ReadablePeriod
 void PeriodFormatter.printTo(StringBuffer buf, ReadablePeriod period)
          Prints a ReadablePeriod to a StringBuffer.
 void PeriodFormatter.printTo(Writer out, ReadablePeriod period)
          Prints a ReadablePeriod to a Writer.
 String PeriodFormatter.print(ReadablePeriod period)
          Prints a ReadablePeriod to a new String.
 int PeriodPrinter.calculatePrintedLength(ReadablePeriod period, Locale locale)
          Returns the exact number of characters produced for the given period.
 int PeriodPrinter.countFieldsToPrint(ReadablePeriod period, int stopAt, Locale locale)
          Returns the amount of fields from the given period that this printer will print.
 void PeriodPrinter.printTo(StringBuffer buf, ReadablePeriod period, Locale locale)
          Prints a ReadablePeriod to a StringBuffer.
 void PeriodPrinter.printTo(Writer out, ReadablePeriod period, Locale locale)
          Prints a ReadablePeriod to a Writer.
 



Copyright © 2002-2008 Joda.org. All Rights Reserved.