Added in API level 24

AbsoluteUnit


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

Represents an absolute unit.

Summary

Enum values

Day

Friday

Hour

Minute

Monday

Month

Now

Quarter

Saturday

Sunday

Thursday

Tuesday

Wednesday

Week

Year

Enum values

DAY

Added in API level 24
enum val DAY : RelativeDateTimeFormatter.AbsoluteUnit

Day

FRIDAY

Added in API level 24
enum val FRIDAY : RelativeDateTimeFormatter.AbsoluteUnit

Friday

HOUR

Added in API level 31
enum val HOUR : RelativeDateTimeFormatter.AbsoluteUnit

Hour

MINUTE

Added in API level 31
enum val MINUTE : RelativeDateTimeFormatter.AbsoluteUnit

Minute

MONDAY

Added in API level 24
enum val MONDAY : RelativeDateTimeFormatter.AbsoluteUnit

Monday

MONTH

Added in API level 24
enum val MONTH : RelativeDateTimeFormatter.AbsoluteUnit

Month

NOW

Added in API level 24
enum val NOW : RelativeDateTimeFormatter.AbsoluteUnit

Now

QUARTER

Added in API level 28
enum val QUARTER : RelativeDateTimeFormatter.AbsoluteUnit

Quarter

SATURDAY

Added in API level 24
enum val SATURDAY : RelativeDateTimeFormatter.AbsoluteUnit

Saturday

SUNDAY

Added in API level 24
enum val SUNDAY : RelativeDateTimeFormatter.AbsoluteUnit

Sunday

THURSDAY

Added in API level 24
enum val THURSDAY : RelativeDateTimeFormatter.AbsoluteUnit

Thursday

TUESDAY

Added in API level 24
enum val TUESDAY : RelativeDateTimeFormatter.AbsoluteUnit

Tuesday

WEDNESDAY

Added in API level 24
enum val WEDNESDAY : RelativeDateTimeFormatter.AbsoluteUnit

Wednesday

WEEK

Added in API level 24
enum val WEEK : RelativeDateTimeFormatter.AbsoluteUnit

Week

YEAR

Added in API level 24
enum val YEAR : RelativeDateTimeFormatter.AbsoluteUnit

Year