RelativeDateTimeFormatter.AbsoluteUnit

public static final enum RelativeDateTimeFormatter.AbsoluteUnit
extends Enum<RelativeDateTimeFormatter.AbsoluteUnit>

java.lang.Object
   ↳ java.lang.Enum<android.icu.text.RelativeDateTimeFormatter.AbsoluteUnit>
     ↳ android.icu.text.RelativeDateTimeFormatter.AbsoluteUnit


Represents an absolute unit.

Summary

Enum values

RelativeDateTimeFormatter.AbsoluteUnit  DAY

Day  

RelativeDateTimeFormatter.AbsoluteUnit  FRIDAY

Friday  

RelativeDateTimeFormatter.AbsoluteUnit  MONDAY

Monday  

RelativeDateTimeFormatter.AbsoluteUnit  MONTH

Month  

RelativeDateTimeFormatter.AbsoluteUnit  NOW

Now  

RelativeDateTimeFormatter.AbsoluteUnit  SATURDAY

Saturday  

RelativeDateTimeFormatter.AbsoluteUnit  SUNDAY

Sunday  

RelativeDateTimeFormatter.AbsoluteUnit  THURSDAY

Thursday  

RelativeDateTimeFormatter.AbsoluteUnit  TUESDAY

Tuesday  

RelativeDateTimeFormatter.AbsoluteUnit  WEDNESDAY

Wednesday  

RelativeDateTimeFormatter.AbsoluteUnit  WEEK

Week  

RelativeDateTimeFormatter.AbsoluteUnit  YEAR

Year  

Public methods

static RelativeDateTimeFormatter.AbsoluteUnit valueOf(String name)
static final AbsoluteUnit[] values()

Inherited methods

Enum values

SATURDAY

added in API level 24
RelativeDateTimeFormatter.AbsoluteUnit SATURDAY

Saturday

THURSDAY

added in API level 24
RelativeDateTimeFormatter.AbsoluteUnit THURSDAY

Thursday

TUESDAY

added in API level 24
RelativeDateTimeFormatter.AbsoluteUnit TUESDAY

Tuesday

WEDNESDAY

added in API level 24
RelativeDateTimeFormatter.AbsoluteUnit WEDNESDAY

Wednesday

Public methods

valueOf

added in API level 24
RelativeDateTimeFormatter.AbsoluteUnit valueOf (String name)

Parameters
name String

Returns
RelativeDateTimeFormatter.AbsoluteUnit

values

added in API level 24
AbsoluteUnit[] values ()

Returns
AbsoluteUnit[]