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  HOUR

Hour 

RelativeDateTimeFormatter.AbsoluteUnit  MINUTE

Minute 

RelativeDateTimeFormatter.AbsoluteUnit  MONDAY

Monday 

RelativeDateTimeFormatter.AbsoluteUnit  MONTH

Month 

RelativeDateTimeFormatter.AbsoluteUnit  NOW

Now 

RelativeDateTimeFormatter.AbsoluteUnit  QUARTER

Quarter 

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

HOUR

Added in API level 31
public static final RelativeDateTimeFormatter.AbsoluteUnit HOUR

Hour

MINUTE

Added in API level 31
public static final RelativeDateTimeFormatter.AbsoluteUnit MINUTE

Minute

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

QUARTER

Added in API level 28
public static final RelativeDateTimeFormatter.AbsoluteUnit QUARTER

Quarter

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

public static RelativeDateTimeFormatter.AbsoluteUnit valueOf (String name)

Parameters
name String

Returns
RelativeDateTimeFormatter.AbsoluteUnit

values

public static final AbsoluteUnit[] values ()

Returns
AbsoluteUnit[]