Month

class Month : Comparable<Month?> , Parcelable

Contains convenience operations for a month within a specific year. Copied from Material Library Required for updated date picker EnterpriseDatePicker to work

Types

CREATOR
Link copied to clipboard
object CREATOR : Parcelable.Creator<Month>

Properties

daysInMonth
Link copied to clipboard
val daysInMonth: Int
daysInWeek
Link copied to clipboard
val daysInWeek: Int
month
Link copied to clipboard
val month: Int
stableId
Link copied to clipboard
val stableId: Long
timeInMillis
Link copied to clipboard
val timeInMillis: Long
year
Link copied to clipboard
val year: Int

Functions

compareTo
Link copied to clipboard
open operator override fun compareTo(other: Month?): Int
daysFromStartOfWeekToFirstOfMonth
Link copied to clipboard
fun daysFromStartOfWeekToFirstOfMonth(): Int
describeContents
Link copied to clipboard
open override fun describeContents(): Int
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getDay
Link copied to clipboard
fun getDay(day: Int): Long
Gets a long for the specific day within the instance's month and year.
getDayOfMonth
Link copied to clipboard
fun getDayOfMonth(date: Long): Int
getLongName
Link copied to clipboard
fun getLongName(context: Context?): String
Returns a localized String representation of the month name and year.
hashCode
Link copied to clipboard
open override fun hashCode(): Int
monthsLater
Link copied to clipboard
fun monthsLater(months: Int): Month
Returns a com.cvs.design.datepicker.
monthsUntil
Link copied to clipboard
fun monthsUntil(other: Month): Int
Returns the number of months from this Month to the provided Month.
writeToParcel
Link copied to clipboard
open override fun writeToParcel(dest: Parcel, flags: Int)