Added in API level 24

Style


class Style
kotlin.Any
   ↳ kotlin.Enum<android.icu.text.RelativeDateTimeFormatter.Style>
   ↳ android.icu.text.RelativeDateTimeFormatter.Style

The formatting style

Summary

Enum values

Everything spelled out.

Use single letters when possible.

Abbreviations used when possible.

Enum values

LONG

Added in API level 24
enum val LONG : RelativeDateTimeFormatter.Style

Everything spelled out.

NARROW

Added in API level 24
enum val NARROW : RelativeDateTimeFormatter.Style

Use single letters when possible.

SHORT

Added in API level 24
enum val SHORT : RelativeDateTimeFormatter.Style

Abbreviations used when possible.