Package org.drinkless.tdlib
Class TdApi.DateTimeFormattingTypeAbsolute
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.DateTimeFormattingType
org.drinkless.tdlib.TdApi.DateTimeFormattingTypeAbsolute
- Enclosing class:
TdApi
The date and time must be shown as absolute timestamps.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.DateTimeFormattingType
TdApi.DateTimeFormattingType.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.The precision with which the date is shown.booleanTrue, if the day of week must be shown.The precision with which hours, minutes and seconds are shown. -
Constructor Summary
ConstructorsConstructorDescriptionThe date and time must be shown as absolute timestamps.DateTimeFormattingTypeAbsolute(TdApi.DateTimePartPrecision timePrecision, TdApi.DateTimePartPrecision datePrecision, boolean showDayOfWeek) The date and time must be shown as absolute timestamps. -
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
-
timePrecision
The precision with which hours, minutes and seconds are shown. -
datePrecision
The precision with which the date is shown. -
showDayOfWeek
public boolean showDayOfWeekTrue, if the day of week must be shown. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
DateTimeFormattingTypeAbsolute
public DateTimeFormattingTypeAbsolute()The date and time must be shown as absolute timestamps. -
DateTimeFormattingTypeAbsolute
public DateTimeFormattingTypeAbsolute(TdApi.DateTimePartPrecision timePrecision, TdApi.DateTimePartPrecision datePrecision, boolean showDayOfWeek) The date and time must be shown as absolute timestamps.- Parameters:
timePrecision- The precision with which hours, minutes and seconds are shown.datePrecision- The precision with which the date is shown.showDayOfWeek- True, if the day of week must be shown.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.DateTimeFormattingType- Returns:
- this.CONSTRUCTOR
-