java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.DateRange
- Enclosing class:
- TdApi
Represents a date range.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
int
Point in time (Unix timestamp) at which the date range ends.int
Point in time (Unix timestamp) at which the date range begins. -
Constructor Summary
-
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
startDate
public int startDatePoint in time (Unix timestamp) at which the date range begins. -
endDate
public int endDatePoint in time (Unix timestamp) at which the date range ends. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
DateRange
public DateRange()Represents a date range. -
DateRange
public DateRange(int startDate, int endDate) Represents a date range.- Parameters:
startDate
- int Point in time (Unix timestamp) at which the date range begins.endDate
- int Point in time (Unix timestamp) at which the date range ends.
-
DateRange
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-