Most visited

Recently visited

Added in API level 24

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


代表一个绝对单位。

Summary

Enum values

RelativeDateTimeFormatter.AbsoluteUnit  DAY

RelativeDateTimeFormatter.AbsoluteUnit  FRIDAY

星期五

RelativeDateTimeFormatter.AbsoluteUnit  MONDAY

星期一

RelativeDateTimeFormatter.AbsoluteUnit  MONTH

RelativeDateTimeFormatter.AbsoluteUnit  NOW

现在

RelativeDateTimeFormatter.AbsoluteUnit  SATURDAY

星期六

RelativeDateTimeFormatter.AbsoluteUnit  SUNDAY

星期日

RelativeDateTimeFormatter.AbsoluteUnit  THURSDAY

星期四

RelativeDateTimeFormatter.AbsoluteUnit  TUESDAY

星期二

RelativeDateTimeFormatter.AbsoluteUnit  WEDNESDAY

星期三

RelativeDateTimeFormatter.AbsoluteUnit  WEEK

RelativeDateTimeFormatter.AbsoluteUnit  YEAR

Public methods

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

Inherited methods

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum values

FRIDAY

Added in API level 24
RelativeDateTimeFormatter.AbsoluteUnit FRIDAY

星期五

MONDAY

Added in API level 24
RelativeDateTimeFormatter.AbsoluteUnit MONDAY

星期一

SATURDAY

Added in API level 24
RelativeDateTimeFormatter.AbsoluteUnit SATURDAY

星期六

SUNDAY

Added in API level 24
RelativeDateTimeFormatter.AbsoluteUnit SUNDAY

星期日

THURSDAY

Added in API level 24
RelativeDateTimeFormatter.AbsoluteUnit THURSDAY

星期四

TUESDAY

Added in API level 24
RelativeDateTimeFormatter.AbsoluteUnit TUESDAY

星期二

WEDNESDAY

Added in API level 24
RelativeDateTimeFormatter.AbsoluteUnit 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[]

Hooray!