Package org.drinkless.tdlib
Class TdApi.DateRange
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.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 intCONSTRUCTORIdentifier uniquely determining type of the object.intendDatePoint in time (Unix timestamp) at which the date range ends.intstartDatePoint in time (Unix timestamp) at which the date range begins.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
startDate
public int startDate
Point in time (Unix timestamp) at which the date range begins.
-
endDate
public int endDate
Point in time (Unix timestamp) at which the date range ends.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-