Companion

object Companion

Functions

Link copied to clipboard
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.