Birthdate

@Serializable
data class Birthdate(val day: Int, val month: Int, val year: Int? = null)

Constructors

Link copied to clipboard
constructor(day: Int, month: Int, year: Int? = null)

Properties

Link copied to clipboard
val date: Date

Represents this birthday as korlibs Date. Will use this year in case if year has not been retrieved

Link copied to clipboard
@SerialName(value = "day")
val day: Int
Link copied to clipboard
@SerialName(value = "month")
val month: Int
Link copied to clipboard
@SerialName(value = "year")
val year: Int? = null