DateResponse

data class DateResponse(val day: Int, val month: Int, val year: Int)

Represents a whole calendar date, for example a date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The date must be a valid calendar date between the year 1 and 9999.

Constructors

Link copied to clipboard
fun DateResponse(day: Int, month: Int, year: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val day: Int

Day of month. Must be from 1 to 31 and valid for the year and month.

Link copied to clipboard
val month: Int

Month of date. Must be from 1 to 12.

Link copied to clipboard
val year: Int

Year of date. Must be from 1 to 9999.