- toTotalMonths
Gets the total number of months in this period using a 12 month year. This
returns the total number
- <init>
Constructor.
- create
Creates an instance.
- from
Obtains an instance of Period from a temporal amount. This obtains a period
based on the specified a
- getDays
Gets the amount of days of this period. This returns the days unit.
- getMonths
Gets the amount of months of this period. This returns the months unit.
The months unit is not nor
- getYears
Gets the amount of years of this period. This returns the years unit.
The months unit is not norma
- isZero
Checks if all three units of this period are zero. A zero period has the value
zero for the years, m
- multipliedBy
- of
Obtains a Period representing a number of years, months and days. This creates
an instance based on
- ofDays
Obtains a Period representing a number of days. The resulting period will have
the specified days. T
- ofWeeks
Obtains a Period representing a number of weeks. The resulting period will have
days equal to the we