invoke
operator fun invoke(useWeek: Boolean = false, useDateLong: Boolean? = null, useTimeLong: Boolean? = null): DateTimeEntityFormatting(source)
Creates a Telegram-compatible non-relative format in weekday-date-time key order.
Return
A value matching w?[dD]?[tT]?; all unset parameters produce an empty format.
Parameters
use Week
true adds WEEK_CONTROL_KEY; false leaves the weekday unset.
use Date Long
true adds DATE_LONG_CONTROL_KEY, false adds DATE_SHORT_CONTROL_KEY, and null leaves the date unset.
use Time Long
true adds TIME_LONG_CONTROL_KEY, false adds TIME_SHORT_CONTROL_KEY, and null leaves the time unset.