Month.of

Obtains an instance of {@code Month} from an {@code int} value. !(p) {@code Month} is an enum representing the 12 months of the year. This factory allows the enum to be obtained from the {@code int} value. The {@code int} value follows the ISO-8601 standard, from 1 (January) to 12 (December).

@param month the month-of-year to represent, from 1 (January) to 12 (December) @return the month-of-year, not null @throws DateTimeException if the month-of-year is invalid

class Month
static
of
(
int month
)

Meta