Companion

Properties

Link copied to clipboard

Control key for a long date, for example March 17, 2022.

Link copied to clipboard

Control key for a short date, for example 17.03.22.

Link copied to clipboard

A valid relative-time format containing only LOCAL_CONTROL_KEY.

Link copied to clipboard

Control key for relative-time display; a valid format cannot combine the key with another key.

Link copied to clipboard

Control key for a long time, for example 22:45:00.

Link copied to clipboard

Control key for a short time, for example 22:45.

Link copied to clipboard

Control key for the day of the week in the user's localized language.

Functions

Link copied to clipboard
operator fun invoke(useWeek: Boolean = false, useDateLong: Boolean? = null, useTimeLong: Boolean? = null): DateTimeEntityFormatting

Creates a Telegram-compatible non-relative format in weekday-date-time key order.