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.