Language

DateFormatStyle Enum

Definition

public enum DateFormatStyle
type DateFormatStyle = 
Inheritance
DateFormatStyle

Fields

Name Value Description
None -1

[icu] Constant for empty style pattern.

Android reference for android.icu.text.DateFormat.NONE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Full 0

Constant for full style pattern.

Android reference for android.icu.text.DateFormat.FULL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Long 1

Constant for long style pattern.

Android reference for android.icu.text.DateFormat.LONG.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Default 2

Constant for default style pattern. Its value is MEDIUM.

Android reference for android.icu.text.DateFormat.DEFAULT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Medium 2

Constant for medium style pattern.

Android reference for android.icu.text.DateFormat.MEDIUM.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Short 3

Constant for short style pattern.

Android reference for android.icu.text.DateFormat.SHORT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Relative 128

[icu] Constant for relative style mask.

Android reference for android.icu.text.DateFormat.RELATIVE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

RelativeFull 128

[icu] Constant for relative full style pattern.

Android reference for android.icu.text.DateFormat.RELATIVE_FULL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

RelativeLong 129

[icu] Constant for relative style pattern.

Android reference for android.icu.text.DateFormat.RELATIVE_LONG.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

RelativeDefault 130

[icu] Constant for relative default style pattern.

Android reference for android.icu.text.DateFormat.RELATIVE_DEFAULT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

RelativeMedium 130

[icu] Constant for relative style pattern.

Android reference for android.icu.text.DateFormat.RELATIVE_MEDIUM.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

RelativeShort 131

[icu] Constant for relative style pattern.

Android reference for android.icu.text.DateFormat.RELATIVE_SHORT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to