Period.ofMonths

Obtains a {@code Period} representing a number of months. !(p) The resulting period will have the specified months. The years and days units will be zero.

@param months the number of months, positive or negative @return the period of months, not null

class Period
static
ofMonths
(
int months
)

Meta