WithDate

Functions specific to the date-time format builders containing the local-date fields.

Inheritors

Functions

Link copied to clipboard
abstract fun date(format: DateTimeFormat<LocalDate>)

An existing DateTimeFormat for the date part.

Link copied to clipboard
abstract fun dayOfMonth(padding: Padding = Padding.ZERO)

A day-of-month number, from 1 to 31.

Link copied to clipboard
abstract fun dayOfWeek(names: DayOfWeekNames)

A day-of-week name (for example, "Thursday").

Link copied to clipboard
abstract fun monthName(names: MonthNames)

A month name (for example, "January").

Link copied to clipboard
abstract fun monthNumber(padding: Padding = Padding.ZERO)

A month-of-year number, from 1 to 12.

Link copied to clipboard
abstract fun year(padding: Padding = Padding.ZERO)

A year number.

Link copied to clipboard
abstract fun yearTwoDigits(baseYear: Int)

The last two digits of the ISO year.