WithTime

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

Inheritors

Functions

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

The hour of the day in the 12-hour clock:

Link copied to clipboard
abstract fun amPmMarker(am: String, pm: String)

The AM/PM marker, using the specified strings.

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

The hour of the day, from 0 to 23.

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

The minute of hour.

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

The second of minute.

Link copied to clipboard
open fun secondFraction(fixedLength: Int)
abstract fun secondFraction(minLength: Int = 1, maxLength: Int = 9)

The fractional part of the second without the leading dot.

Link copied to clipboard
abstract fun time(format: DateTimeFormat<LocalTime>)

An existing DateTimeFormat for the time part.