TgDateTimeFormatBuilder

Builder for date time format string. Use buildDateTimeFormat for convenience

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun build(): <Error class: unknown class>

Joins all added parts into a single format string

Link copied to clipboard
fun dateLong(): <Error class: unknown class>

Adds DateTimeFormatPart.Date.Long to the format. Removes any other DateTimeFormatPart.Date parts

Link copied to clipboard
fun dateShort(): <Error class: unknown class>

Adds DateTimeFormatPart.Date.Short to the format. Removes any other DateTimeFormatPart.Date parts

Link copied to clipboard
fun relative(): <Error class: unknown class>

Adds DateTimeFormatPart.Relative to the format

Link copied to clipboard
fun timeLong(): <Error class: unknown class>

Adds DateTimeFormatPart.Time.Long to the format. Removes any other DateTimeFormatPart.Time parts

Link copied to clipboard
fun timeShort(): <Error class: unknown class>

Adds DateTimeFormatPart.Time.Short to the format. Removes any other DateTimeFormatPart.Time parts

Link copied to clipboard
fun weekDay(): <Error class: unknown class>

Adds DateTimeFormatPart.WeekDay to the format