|
TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
| date () | |
| date (int32 day_, int32 month_, int32 year_) | |
| std::int32_t | get_id () const final |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Member Functions inherited from td::TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Public Attributes | |
| int32 | day_ |
| Day of the month; 1-31. | |
| int32 | month_ |
| Month; 1-12. | |
| int32 | year_ |
| Year; 1-9999. | |
Static Public Attributes | |
| static const std::int32_t | ID = -277956960 |
| Identifier uniquely determining a type of the object. | |
Represents a date according to the Gregorian calendar.
| td::td_api::date::date | ( | ) |
Represents a date according to the Gregorian calendar.
Represents a date according to the Gregorian calendar.
| [in] | day_ | Day of the month; 1-31. |
| [in] | month_ | Month; 1-12. |
| [in] | year_ | Year; 1-9999. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.