class Tourmaline::Birthdate
- Tourmaline::Birthdate
- Reference
- Object
Overview
Describes the birthdate of a user.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(day : Int32 | Int64, month : Int32 | Int64, year : Int32 | Int64 | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#day : Int32 | Int64
Day of the user's birth; 1-31
-
#day=(day : Int32 | Int64)
Day of the user's birth; 1-31
-
#month : Int32 | Int64
Month of the user's birth; 1-12
-
#month=(month : Int32 | Int64)
Month of the user's birth; 1-12
-
#year : Int32 | Int64 | Nil
Optional.
-
#year=(year : Int32 | Int64 | Nil)
Optional.
Constructor Detail
def self.new(day : Int32 | Int64, month : Int32 | Int64, year : Int32 | Int64 | Nil = nil)
#