Class: TD::Types::Date
Overview
Represents a date according to the Gregorian calendar.
Instance Attribute Summary collapse
-
#day ⇒ Integer
Day of the month; 1-31.
-
#month ⇒ Integer
Month; 1-12.
-
#year ⇒ Integer
Year; 1-9999.
Method Summary
Methods inherited from Base
Instance Attribute Details
#day ⇒ Integer
Day of the month; 1-31.
7 8 9 |
# File 'lib/tdlib/types/date.rb', line 7 def day @day end |
#month ⇒ Integer
Month; 1-12.
7 8 9 |
# File 'lib/tdlib/types/date.rb', line 7 def month @month end |
#year ⇒ Integer
Year; 1-9999.
7 8 9 |
# File 'lib/tdlib/types/date.rb', line 7 def year @year end |