Added in API level 24

Direction


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

Represents a direction for an absolute unit e.g "Next Tuesday" or "Last Tuesday"

Summary

Enum values

Last

Two before.

Next

Two after.

Plain, which means the absence of a qualifier

This

Enum values

LAST

Added in API level 24
enum val LAST : RelativeDateTimeFormatter.Direction

Last

LAST_2

Added in API level 24
enum val LAST_2 : RelativeDateTimeFormatter.Direction

Two before. Not fully supported in every locale

NEXT

Added in API level 24
enum val NEXT : RelativeDateTimeFormatter.Direction

Next

NEXT_2

Added in API level 24
enum val NEXT_2 : RelativeDateTimeFormatter.Direction

Two after. Not fully supported in every locale

PLAIN

Added in API level 24
enum val PLAIN : RelativeDateTimeFormatter.Direction

Plain, which means the absence of a qualifier

THIS

Added in API level 24
enum val THIS : RelativeDateTimeFormatter.Direction

This