Date

sealed interface Date : DateTimeFormatPart

Group for date-related format parts

Inheritors

Types

Link copied to clipboard

Represents long date format (e.g. "January 1, 2023"). Control character: "D"

Link copied to clipboard

Represents short date format (e.g. "01.01.2023"). Control character: "d"

Properties

Link copied to clipboard
abstract val controlCharacter: String

Character that represents this part in the format string. Used by TgDateTimeFormatBuilder.build