getMonth

fun getMonth(value: Int): Month?

This is a static method that takes an integer and returns the corresponding month of the year. Note that this method is 0 indexed so Month.getMonth(0) returns Month.JANUARY.

Return

a Month instance

Parameters

value

between 0 and 11