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
FRIDAY
public static final RelativeDateTimeFormatter.AbsoluteUnit FRIDAY
Friday
MINUTE
public static final RelativeDateTimeFormatter.AbsoluteUnit MINUTE
Minute
MONDAY
public static final RelativeDateTimeFormatter.AbsoluteUnit MONDAY
Monday
QUARTER
public static final RelativeDateTimeFormatter.AbsoluteUnit QUARTER
Quarter
SATURDAY
public static final RelativeDateTimeFormatter.AbsoluteUnit SATURDAY
Saturday
SUNDAY
public static final RelativeDateTimeFormatter.AbsoluteUnit SUNDAY
Sunday
THURSDAY
public static final RelativeDateTimeFormatter.AbsoluteUnit THURSDAY
Thursday
TUESDAY
public static final RelativeDateTimeFormatter.AbsoluteUnit TUESDAY
Tuesday
WEDNESDAY
public static final RelativeDateTimeFormatter.AbsoluteUnit WEDNESDAY
Wednesday
Public methods
valueOf
public static RelativeDateTimeFormatter.AbsoluteUnit valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
RelativeDateTimeFormatter.AbsoluteUnit |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-11 UTC.