# Print output for @column tags ?> RelativeDateTimeFormatter.Style - Android SDK | Android Developers

Most visited


Recently visited


RelativeDateTimeFormatter.Style

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

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


The formatting style

Summary


Enum values

RelativeDateTimeFormatter.Style  LONG

Everything spelled out. 

RelativeDateTimeFormatter.Style  NARROW

Use single letters when possible. 

RelativeDateTimeFormatter.Style  SHORT

Abbreviations used when possible. 

Public methods

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

Inherited methods

Enum values


LONG

public static final RelativeDateTimeFormatter.Style LONG

Everything spelled out.

NARROW

public static final RelativeDateTimeFormatter.Style NARROW

Use single letters when possible.

SHORT

public static final RelativeDateTimeFormatter.Style SHORT

Abbreviations used when possible.

Public methods


valueOf

public static RelativeDateTimeFormatter.Style valueOf (String name)

Parameters
name String

Returns
RelativeDateTimeFormatter.Style

values

public static final Style[] values ()

Returns
Style[]

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.