Java org.joda.time PeriodType fields, constructors, methods, implement or subclass

Example usage for Java org.joda.time PeriodType fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.joda.time PeriodType.

The text is from its open source code.

Subclass

org.joda.time.PeriodType has subclasses.
Click this link to see all its subclasses.

Method

PeriodTypedays()
Gets a type that defines just the days field.
PeriodTypedayTime()
Gets a type that defines all standard fields from days downwards.
PeriodTypeforFields(DurationFieldType[] types)
Gets a period type that contains the duration types of the array.
DurationFieldTypegetFieldType(int index)
Gets the field type by index.
PeriodTypehours()
Gets a type that defines just the hours field.
PeriodTypemillis()
Gets a type that defines just the millis field.
PeriodTypeminutes()
Gets a type that defines just the minutes field.
PeriodTypemonths()
Gets a type that defines just the months field.
PeriodTypeseconds()
Gets a type that defines just the seconds field.
intsize()
Gets the number of fields in the period type.
PeriodTypestandard()
Gets a type that defines all standard fields.
PeriodTypetime()
Gets a type that defines all standard time fields.
PeriodTypeweeks()
Gets a type that defines just the weeks field.
PeriodTypewithDaysRemoved()
Returns a version of this PeriodType instance that does not support days.
PeriodTypewithHoursRemoved()
Returns a version of this PeriodType instance that does not support hours.
PeriodTypewithMillisRemoved()
Returns a version of this PeriodType instance that does not support milliseconds.
PeriodTypewithMinutesRemoved()
Returns a version of this PeriodType instance that does not support minutes.
PeriodTypewithMonthsRemoved()
Returns a version of this PeriodType instance that does not support months.
PeriodTypewithSecondsRemoved()
Returns a version of this PeriodType instance that does not support seconds.
PeriodTypewithWeeksRemoved()
Returns a version of this PeriodType instance that does not support weeks.
PeriodTypewithYearsRemoved()
Returns a version of this PeriodType instance that does not support years.
PeriodTypeyearDay()
Gets a type that defines the year and day fields.
PeriodTypeyearDayTime()
Gets a type that defines all standard fields except months and weeks.
PeriodTypeyearMonthDay()
Gets a type that defines the year, month and day fields.
PeriodTypeyearMonthDayTime()
Gets a type that defines all standard fields except weeks.
PeriodTypeyears()
Gets a type that defines just the years field.
PeriodTypeyearWeekDay()
Gets a type that defines year, week and day fields.
PeriodTypeyearWeekDayTime()
Gets a type that defines all standard fields except months.