Condividi tramite


FormatStyleFlags Enum

Definition

Enumerates values returned by several methods of FormatStyleFlags and taken as a parameter of several methods of DateUtils.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum FormatStyleFlags
[<System.Flags>]
type FormatStyleFlags = 
Inheritance
FormatStyleFlags
Attributes

Fields

Name Value Description
ShowTime 1
ShowWeekday 2
ShowYear 4
NoYear 8
ShowDate 16
NoMonthDay 32
TwelveHour 64
TwentyFourHour 128
CapAmpm 256
NoNoon 512
CapNoon 1024
NoMidnight 2048
NoNoonMidnight 2560
CapMidnight 4096
CapNoonMidnight 5120
Utc 8192
AbbrevTime 16384
AbbrevWeekday 32768
AbbrevMonth 65536
NumericDate 131072
AbbrevRelative 262144
AbbrevAll 524288

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