lightbulb_outline Please take our October 2018 developer survey. Start survey

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

DAY

added in API level 24
public static final RelativeDateTimeFormatter.AbsoluteUnit DAY

Day

FRIDAY

added in API level 24
public static final RelativeDateTimeFormatter.AbsoluteUnit FRIDAY

Friday

MONDAY

added in API level 24
public static final RelativeDateTimeFormatter.AbsoluteUnit MONDAY

Monday

MONTH

added in API level 24
public static final RelativeDateTimeFormatter.AbsoluteUnit MONTH

Month

NOW

added in API level 24
public static final RelativeDateTimeFormatter.AbsoluteUnit NOW

Now

SATURDAY

added in API level 24
public static final RelativeDateTimeFormatter.AbsoluteUnit SATURDAY

Saturday

SUNDAY

added in API level 24
public static final RelativeDateTimeFormatter.AbsoluteUnit SUNDAY

Sunday

THURSDAY

added in API level 24
public static final RelativeDateTimeFormatter.AbsoluteUnit THURSDAY

Thursday

TUESDAY

added in API level 24
public static final RelativeDateTimeFormatter.AbsoluteUnit TUESDAY

Tuesday

WEDNESDAY

added in API level 24
public static final RelativeDateTimeFormatter.AbsoluteUnit WEDNESDAY

Wednesday

WEEK

added in API level 24
public static final RelativeDateTimeFormatter.AbsoluteUnit WEEK

Week

YEAR

added in API level 24
public static final RelativeDateTimeFormatter.AbsoluteUnit YEAR

Year

Public methods

valueOf

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

Parameters
name String

Returns
RelativeDateTimeFormatter.AbsoluteUnit

values

added in API level 24
public static final AbsoluteUnit[] values ()

Returns
AbsoluteUnit[]