@Deprecated
public static class DateTimePatternGenerator.VariableField
extends java.lang.Object
Constructor | Description |
---|---|
VariableField(java.lang.String string) |
Deprecated.
This API is ICU internal only.
|
VariableField(java.lang.String string,
boolean strict) |
Deprecated.
This API is ICU internal only.
|
Modifier and Type | Method | Description |
---|---|---|
static java.lang.String |
getCanonicalCode(int type) |
Deprecated.
This API is ICU internal only.
|
int |
getType() |
Deprecated.
This API is ICU internal only.
|
boolean |
isNumeric() |
Deprecated.
This API is ICU internal only.
|
java.lang.String |
toString() |
Deprecated.
This API is ICU internal only.
|
@Deprecated public VariableField(java.lang.String string)
string
- The string for the variable field.@Deprecated public VariableField(java.lang.String string, boolean strict)
string
- The string for the variable fieldstrict
- If true, then only allows exactly those lengths specified by CLDR for variables. For example, "hh:mm aa" would throw an exception.java.lang.IllegalArgumentException
- if the variable field is not valid.@Deprecated public int getType()
@Deprecated public static java.lang.String getCanonicalCode(int type)
@Deprecated public boolean isNumeric()
@Deprecated public java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 2016 Unicode, Inc. and others.