Package it.tdlight.jni
Class TdApi.DateRange
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.DateRange
- Enclosing class:
- TdApi
public static class TdApi.DateRange extends TdApi.Object
Represents a date range.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
endDate
Point in time (Unix timestamp) at which the date range ends.int
startDate
Point in time (Unix timestamp) at which the date range begins. -
Constructor Summary
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
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:
- Constant Field Values
-
-
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()
-