Period.of

Obtains a {@code Period} representing a number of years, months and days. !(p) This creates an instance based on years, months and days.

@param years the amount of years, may be negative @param months the amount of months, may be negative @param days the amount of days, may be negative @return the period of years, months and days, not null

class Period
static
of
(
int years
,
int months
,
int days
)

Meta