Uses of Class org.joda.time.PeriodType

Uses in package org.joda.time.convert

Methods with return type org.joda.time.PeriodType

PeriodType
Selects a suitable period type for the given object.
PeriodType
Selects a suitable period type for the given object.

Uses in package org.joda.time

Constructors with parameter type org.joda.time.PeriodType

MutablePeriod.MutablePeriod(Object period, PeriodType type)
Creates a period by converting or copying from another object.
MutablePeriod.MutablePeriod(Object period, PeriodType type, Chronology chrono)
Creates a period by converting or copying from another object.
MutablePeriod.MutablePeriod(int years, int months, int weeks, int days, int hours, int minutes, int seconds, int millis, PeriodType type)
Create a period from a set of field values.
MutablePeriod.MutablePeriod(long startInstant, long endInstant, PeriodType type)
Creates a period from the given interval endpoints.
MutablePeriod.MutablePeriod(long startInstant, long endInstant, PeriodType type, Chronology chrono)
Creates a period from the given interval endpoints.
MutablePeriod.MutablePeriod(long duration, PeriodType type)
Creates a period from the given millisecond duration.
MutablePeriod.MutablePeriod(long duration, PeriodType type, Chronology chronology)
Creates a period from the given millisecond duration.
Creates a zero-length period using the specified period type.
Creates a period from the given duration and end point.
Creates a period from the given start point and the duration.
Creates a period from the given interval endpoints.
Period.Period(Object period, PeriodType type)
Creates a period by converting or copying from another object.
Period.Period(Object period, PeriodType type, Chronology chrono)
Creates a period by converting or copying from another object.
Period.Period(int years, int months, int weeks, int days, int hours, int minutes, int seconds, int millis, PeriodType type)
Create a period from a set of field values.
Period.Period(long startInstant, long endInstant, PeriodType type)
Creates a period from the given interval endpoints.
Period.Period(long startInstant, long endInstant, PeriodType type, Chronology chrono)
Creates a period from the given interval endpoints.
Period.Period(long duration, PeriodType type)
Creates a period from the given millisecond duration.
Period.Period(long duration, PeriodType type, Chronology chronology)
Creates a period from the given millisecond duration.
Creates a period from the given duration and end point.
Period.Period(ReadableInstant startInstant, ReadableDuration duration, PeriodType type)
Creates a period from the given start point and the duration.
Period.Period(ReadableInstant startInstant, ReadableInstant endInstant, PeriodType type)
Creates a period from the given interval endpoints.
Creates a period from two partially specified times.

Methods with parameter type org.joda.time.PeriodType

PeriodType
Gets the period type handling null.
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
Converts the duration of the interval to a period using the specified period type.
Period
Creates a new Period instance with the same field values but different PeriodType.

Methods with return type org.joda.time.PeriodType

PeriodType
Gets a type that defines all standard fields from days downwards.
PeriodType
Gets a type that defines just the days field.
PeriodType
Gets a period type that contains the duration types of the array.
PeriodType
Gets the period type, which is days.
PeriodType
Gets the period type, which is hours.
PeriodType
Gets the period type, which is minutes.
PeriodType
Gets the period type, which is months.
PeriodType
Gets the period type that defines which fields are included in the period.
PeriodType
Gets the period type, which is seconds.
PeriodType
Gets the period type, which is weeks.
PeriodType
Gets the period type, which is years.
PeriodType
Gets the period type handling null.
PeriodType
Gets a type that defines just the hours field.
PeriodType
Gets a type that defines just the millis field.
PeriodType
Gets a type that defines just the minutes field.
PeriodType
Gets a type that defines just the months field.
PeriodType
Gets a type that defines just the seconds field.
PeriodType
Gets a type that defines all standard fields.
PeriodType
Gets a type that defines all standard time fields.
PeriodType
Gets a type that defines just the weeks field.
PeriodType
Returns a version of this PeriodType instance that does not support days.
PeriodType
Returns a version of this PeriodType instance that does not support hours.
PeriodType
Returns a version of this PeriodType instance that does not support milliseconds.
PeriodType
Returns a version of this PeriodType instance that does not support minutes.
PeriodType
Returns a version of this PeriodType instance that does not support months.
PeriodType
Returns a version of this PeriodType instance that does not support seconds.
PeriodType
Returns a version of this PeriodType instance that does not support weeks.
PeriodType
Returns a version of this PeriodType instance that does not support years.
PeriodType
Gets a type that defines the year and day fields.
PeriodType
Gets a type that defines all standard fields except months and weeks.
PeriodType
Gets a type that defines the year, month and day fields.
PeriodType
Gets a type that defines all standard fields except weeks.
PeriodType
Gets a type that defines year, week and day fields.
PeriodType
Gets a type that defines all standard fields except months.
PeriodType
Gets a type that defines just the years field.

Uses in package org.joda.time.format

Methods with parameter type org.joda.time.PeriodType

PeriodFormatter
Returns a new formatter with a different PeriodType for parsing.

Methods with return type org.joda.time.PeriodType

PeriodType
Gets the PeriodType that will be used for parsing.

Uses in package org.joda.time.base

Constructors with parameter type org.joda.time.PeriodType

BasePeriod.BasePeriod(Object period, PeriodType type, Chronology chrono)
Creates a new period based on another using the ConverterManager.
BasePeriod.BasePeriod(int years, int months, int weeks, int days, int hours, int minutes, int seconds, int millis, PeriodType type)
Creates a period from a set of field values.
BasePeriod.BasePeriod(int[] values, PeriodType type)
Constructor used when we trust ourselves.
BasePeriod.BasePeriod(long startInstant, long endInstant, PeriodType type, Chronology chrono)
Creates a period from the given interval endpoints.
BasePeriod.BasePeriod(long duration, PeriodType type, Chronology chrono)
Creates a period from the given millisecond duration, which is only really suitable for durations less than one day.
Creates a period from the given duration and end point.
Creates a period from the given start point and duration.
Creates a period from the given interval endpoints.
Creates a period from the given duration and end point.

Methods with parameter type org.joda.time.PeriodType

PeriodType
Validates a period type, converting nulls to a default value and checking the type is suitable for this instance.
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.
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.

Methods with return type org.joda.time.PeriodType

PeriodType
Validates a period type, converting nulls to a default value and checking the type is suitable for this instance.
PeriodType
Gets the period type.
PeriodType
Gets the period type which matches the duration field type.

Copyright (c) 2001-2006 - Joda.org