public static class TdApi.Date extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
day
Day of the month; 1-31.
|
int |
month
Month; 1-12.
|
int |
year
Year; 1-9999.
|
| Constructor and Description |
|---|
Date()
Represents a date according to the Gregorian calendar.
|
Date(int day,
int month,
int year)
Represents a date according to the Gregorian calendar.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int day
public int month
public int year
public static final int CONSTRUCTOR
public Date()
public Date(int day,
int month,
int year)
day - Day of the month; 1-31.month - Month; 1-12.year - Year; 1-9999.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object