DateTimeFormatPart

Types

Link copied to clipboard
sealed interface Date : DateTimeFormatPart

Group for date-related format parts

Link copied to clipboard

Represents relative time format (e.g. "2 hours ago"). Control character: "r"

Link copied to clipboard
sealed interface Time : DateTimeFormatPart

Group for time-related format parts

Link copied to clipboard

Represents day of the week format (e.g. "Monday"). Control character: "w"

Properties

Link copied to clipboard
abstract val controlCharacter: String

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