YMD

data class YMD(val Y: Int = 0, val M: Int = 0, val D: Int = 0)

Helper class to store user's birth date in time independent format.

Constructors

Link copied to clipboard
fun YMD(Y: Int = 0, M: Int = 0, D: Int = 0)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val D: Int = 0

Day of the month.

Link copied to clipboard

Returns true if there is no date.

Link copied to clipboard
val M: Int = 0

Month. Starts from 1 for January.

Link copied to clipboard
val Y: Int = 0

Year.