BaseDateFormatter

Interface for parsing and formatting a KalugaDate from/to a String.

Inheritors

Properties

Link copied to clipboard
abstract var amString: String

The name used to describe A.M. when using a twelve hour clock.

Link copied to clipboard
abstract var eras: List<String>

A list containing the names of all eras used by this date formatter.

Link copied to clipboard
abstract var months: List<String>

A list containing the names of all months used by this date formatter.

Link copied to clipboard
abstract var pattern: String
Link copied to clipboard
abstract var pmString: String

The name used to describe P.M. when using a twelve hour clock.

Link copied to clipboard
abstract var shortMonths: List<String>

A list containing the shortened names of all months used by this date formatter.

Link copied to clipboard
abstract var shortWeekdays: List<String>

A list containing the shortened names of all weekdays used by this date formatter.

Link copied to clipboard
abstract var timeZone: KalugaTimeZone

The KalugaTimeZone this KalugaDateFormatter formats its dates to.

Link copied to clipboard
abstract var weekdays: List<String>

A list containing the names of all weekdays used by this date formatter.

Functions

Link copied to clipboard
abstract fun format(date: KalugaDate): String

Formats a given KalugaDate to a String using the format described by this KalugaDateFormatter.

Link copied to clipboard
abstract fun parse(string: String): KalugaDate?

Attempts to parse a given String into a KalugaDate using the format described.