Most visited

Recently visited

Added in API level 24

DateTimePatternGenerator.PatternInfo

public static final class DateTimePatternGenerator.PatternInfo
extends Object

java.lang.Object
   ↳ android.icu.text.DateTimePatternGenerator.PatternInfo


PatternInfo为addPattern(...)提供输出参数。 它被使用是因为Java没有实际的输出参数。 它被视为一个结构(例如Point),所以所有的字段都是公共的。

Summary

Constants

int BASE_CONFLICT

int CONFLICT

int OK

Fields

public String conflictingPattern

public int status

Public constructors

DateTimePatternGenerator.PatternInfo()

简单的构造函数,因为这被视为一个结构。

Inherited methods

From class java.lang.Object

Constants

BASE_CONFLICT

Added in API level 24
int BASE_CONFLICT

常数值:1(0x00000001)

CONFLICT

Added in API level 24
int CONFLICT

常量值:2(0x00000002)

OK

Added in API level 24
int OK

常量值:0(0x00000000)

Fields

conflictingPattern

Added in API level 24
String conflictingPattern

status

Added in API level 24
int status

Public constructors

DateTimePatternGenerator.PatternInfo

Added in API level 24
DateTimePatternGenerator.PatternInfo ()

简单的构造函数,因为这被视为一个结构。

Hooray!