Example usage for Java org.joda.time PeriodType fields, constructors, methods, implement or subclass
The text is from its open source code.
PeriodType | days() Gets a type that defines just the days field. |
PeriodType | dayTime() Gets a type that defines all standard fields from days downwards. |
PeriodType | forFields(DurationFieldType[] types) Gets a period type that contains the duration types of the array. |
DurationFieldType | getFieldType(int index) Gets the field type by index. |
PeriodType | hours() Gets a type that defines just the hours field. |
PeriodType | millis() Gets a type that defines just the millis field. |
PeriodType | minutes() Gets a type that defines just the minutes field. |
PeriodType | months() Gets a type that defines just the months field. |
PeriodType | seconds() Gets a type that defines just the seconds field. |
int | size() Gets the number of fields in the period type. |
PeriodType | standard() Gets a type that defines all standard fields. |
PeriodType | time() Gets a type that defines all standard time fields. |
PeriodType | weeks() Gets a type that defines just the weeks field. |
PeriodType | withDaysRemoved() Returns a version of this PeriodType instance that does not support days. |
PeriodType | withHoursRemoved() Returns a version of this PeriodType instance that does not support hours. |
PeriodType | withMillisRemoved() Returns a version of this PeriodType instance that does not support milliseconds. |
PeriodType | withMinutesRemoved() Returns a version of this PeriodType instance that does not support minutes. |
PeriodType | withMonthsRemoved() Returns a version of this PeriodType instance that does not support months. |
PeriodType | withSecondsRemoved() Returns a version of this PeriodType instance that does not support seconds. |
PeriodType | withWeeksRemoved() Returns a version of this PeriodType instance that does not support weeks. |
PeriodType | withYearsRemoved() Returns a version of this PeriodType instance that does not support years. |
PeriodType | yearDay() Gets a type that defines the year and day fields. |
PeriodType | yearDayTime() Gets a type that defines all standard fields except months and weeks. |
PeriodType | yearMonthDay() Gets a type that defines the year, month and day fields. |
PeriodType | yearMonthDayTime() Gets a type that defines all standard fields except weeks. |
PeriodType | years() Gets a type that defines just the years field. |
PeriodType | yearWeekDay() Gets a type that defines year, week and day fields. |
PeriodType | yearWeekDayTime() Gets a type that defines all standard fields except months. |