class Tourmaline::Birthdate

Overview

Describes the birthdate of a user.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(day : Int32 | Int64, month : Int32 | Int64, year : Int32 | Int64 | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def day : Int32 | Int64 #

Day of the user's birth; 1-31


[View source]
def day=(day : Int32 | Int64) #

Day of the user's birth; 1-31


[View source]
def month : Int32 | Int64 #

Month of the user's birth; 1-12


[View source]
def month=(month : Int32 | Int64) #

Month of the user's birth; 1-12


[View source]
def year : Int32 | Int64 | Nil #

Optional. Year of the user's birth


[View source]
def year=(year : Int32 | Int64 | Nil) #

Optional. Year of the user's birth


[View source]