@Deprecated public static class DateTimePatternGenerator.VariableField extends Object
Constructor | Description |
---|---|
VariableField(String string) |
Deprecated.
This API is ICU internal only.
|
VariableField(String string,
boolean strict) |
Deprecated.
This API is ICU internal only.
|
Modifier and Type | Method | Description |
---|---|---|
static 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.
|
String |
toString() |
Deprecated.
This API is ICU internal only.
|
@Deprecated public VariableField(String string)
string
- The string for the variable field.@Deprecated public VariableField(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.IllegalArgumentException
- if the variable field is not valid.@Deprecated public int getType()
@Deprecated public static String getCanonicalCode(int type)
@Deprecated public boolean isNumeric()
@Deprecated public String toString()
Copyright © 2016 Unicode, Inc. and others.