class

Tourmaline::Birthdate

Inherits JSON::Serializable < Reference < Object

Describes the birthdate of a user.

Constructors

new(day : Int32 | Int64, month : Int32 | Int64, year : Int32 | Int64 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

day

Day of the user's birth; 1-31

Source
day=(day : Int32 | Int64)

Day of the user's birth; 1-31

Source
month

Month of the user's birth; 1-12

Source
month=(month : Int32 | Int64)

Month of the user's birth; 1-12

Source
year

Optional. Year of the user's birth

Source
year=(year : Int32 | Int64 | Nil)

Optional. Year of the user's birth

Source