RecurrenceFormatter

class RecurrenceFormatter(val dateFormat: DateFormat)

Formatter class for converting Recurrence objects to a human-readable string represention. This is basically a localized version of Recurrence.toString. This class is not thread-safe.

Constructors

Link copied to clipboard
constructor(dateFormat: DateFormat)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Date format used to format end date.

Functions

Link copied to clipboard
fun format(context: Context, r: Recurrence, startDate: Long = Recurrence.DATE_NONE): String

Format a recurrence to its localized string represention.