create

fun create(timeInMillis: Long): Month

Creates an instance of Month that contains the provided timeInMillis where timeInMillis is in milliseconds since 00:00:00 January 1, 1970, UTC.

fun create(year: Int, month: Int): Month

Creates an instance of Month with the given parameters backed by a Calendar.

Return

A Month object backed by a new Calendar instance

Parameters

year

The year

month

The 0-index based month. Use Calendar constants (e.g.,