Package org.drinkless.tdlib
Class TdApi.DateRange
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.DateRange
- Enclosing class:
- TdApi
Represents a date range.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intPoint in time (Unix timestamp) at which the date range ends.intPoint in time (Unix timestamp) at which the date range begins. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
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 CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
DateRange
public DateRange()Represents a date range. -
DateRange
public DateRange(int startDate, int endDate) Represents a date range.- Parameters:
startDate- Point in time (Unix timestamp) at which the date range begins.endDate- Point in time (Unix timestamp) at which the date range ends.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-