Home
last modified time | relevance | path

Searched refs:ParseOption (Results 1 – 19 of 19) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java38 import com.ibm.icu.text.TimeZoneFormat.ParseOption;
562 EnumSet.of(ParseOption.ALL_STYLES), "Etc/GMT", 1, TimeType.UNKNOWN}, in TestParse()
568 EnumSet.of(ParseOption.ALL_STYLES), "Africa/Lusaka", 11, TimeType.UNKNOWN}, in TestParse()
604 EnumSet.of(ParseOption.ALL_STYLES), "America/New_York", 3, TimeType.STANDARD}, in TestParse()
616 … EnumSet.of(ParseOption.TZ_DATABASE_ABBREVIATIONS), "America/Chicago", 3, TimeType.STANDARD}, in TestParse()
619 … EnumSet.of(ParseOption.TZ_DATABASE_ABBREVIATIONS), "America/Chicago", 5, TimeType.STANDARD}, in TestParse()
622 … EnumSet.of(ParseOption.TZ_DATABASE_ABBREVIATIONS), "Asia/Shanghai", 3, TimeType.STANDARD}, in TestParse()
625 … EnumSet.of(ParseOption.TZ_DATABASE_ABBREVIATIONS), "Australia/Sydney", 4, TimeType.STANDARD}, in TestParse()
628 … EnumSet.of(ParseOption.TZ_DATABASE_ABBREVIATIONS), "Asia/Riyadh", 3, TimeType.STANDARD}, in TestParse()
634 EnumSet.of(ParseOption.ALL_STYLES), null, 0, TimeType.UNKNOWN}, in TestParse()
[all …]
DDateFormatTest.java53 import com.ibm.icu.text.TimeZoneFormat.ParseOption;
673 tzfmt.setDefaultParseOptions(EnumSet.of(ParseOption.ALL_STYLES)); in TestGenericTime()
3293 tzfmt.setDefaultParseOptions(EnumSet.of(ParseOption.ALL_STYLES)).freeze(); in expect()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java39 import android.icu.text.TimeZoneFormat.ParseOption;
563 EnumSet.of(ParseOption.ALL_STYLES), "Etc/GMT", 1, TimeType.UNKNOWN}, in TestParse()
569 EnumSet.of(ParseOption.ALL_STYLES), "Africa/Lusaka", 11, TimeType.UNKNOWN}, in TestParse()
605 EnumSet.of(ParseOption.ALL_STYLES), "America/New_York", 3, TimeType.STANDARD}, in TestParse()
617 … EnumSet.of(ParseOption.TZ_DATABASE_ABBREVIATIONS), "America/Chicago", 3, TimeType.STANDARD}, in TestParse()
620 … EnumSet.of(ParseOption.TZ_DATABASE_ABBREVIATIONS), "America/Chicago", 5, TimeType.STANDARD}, in TestParse()
623 … EnumSet.of(ParseOption.TZ_DATABASE_ABBREVIATIONS), "Asia/Shanghai", 3, TimeType.STANDARD}, in TestParse()
626 … EnumSet.of(ParseOption.TZ_DATABASE_ABBREVIATIONS), "Australia/Sydney", 4, TimeType.STANDARD}, in TestParse()
629 … EnumSet.of(ParseOption.TZ_DATABASE_ABBREVIATIONS), "Asia/Riyadh", 3, TimeType.STANDARD}, in TestParse()
635 EnumSet.of(ParseOption.ALL_STYLES), null, 0, TimeType.UNKNOWN}, in TestParse()
[all …]
DDateFormatTest.java54 import android.icu.text.TimeZoneFormat.ParseOption;
674 tzfmt.setDefaultParseOptions(EnumSet.of(ParseOption.ALL_STYLES)); in TestGenericTime()
3294 tzfmt.setDefaultParseOptions(EnumSet.of(ParseOption.ALL_STYLES)).freeze(); in expect()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java275 public enum ParseOption { enum in TimeZoneFormat
682 public TimeZoneFormat setDefaultParseOptions(EnumSet<ParseOption> options) { in setDefaultParseOptions()
683 _parseAllStyles = options.contains(ParseOption.ALL_STYLES); in setDefaultParseOptions()
684 _parseTZDBNames = options.contains(ParseOption.TZ_DATABASE_ABBREVIATIONS); in setDefaultParseOptions()
693 public EnumSet<ParseOption> getDefaultParseOptions() { in getDefaultParseOptions()
695 return EnumSet.of(ParseOption.ALL_STYLES, ParseOption.TZ_DATABASE_ABBREVIATIONS); in getDefaultParseOptions()
697 return EnumSet.of(ParseOption.ALL_STYLES); in getDefaultParseOptions()
699 return EnumSet.of(ParseOption.TZ_DATABASE_ABBREVIATIONS); in getDefaultParseOptions()
701 return EnumSet.noneOf(ParseOption.class); in getDefaultParseOptions()
1010 …public TimeZone parse(Style style, String text, ParsePosition pos, EnumSet<ParseOption> options, O… in parse()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java309 public enum ParseOption { enum in TimeZoneFormat
732 public TimeZoneFormat setDefaultParseOptions(EnumSet<ParseOption> options) { in setDefaultParseOptions()
733 _parseAllStyles = options.contains(ParseOption.ALL_STYLES); in setDefaultParseOptions()
734 _parseTZDBNames = options.contains(ParseOption.TZ_DATABASE_ABBREVIATIONS); in setDefaultParseOptions()
744 public EnumSet<ParseOption> getDefaultParseOptions() { in getDefaultParseOptions()
746 return EnumSet.of(ParseOption.ALL_STYLES, ParseOption.TZ_DATABASE_ABBREVIATIONS); in getDefaultParseOptions()
748 return EnumSet.of(ParseOption.ALL_STYLES); in getDefaultParseOptions()
750 return EnumSet.of(ParseOption.TZ_DATABASE_ABBREVIATIONS); in getDefaultParseOptions()
752 return EnumSet.noneOf(ParseOption.class); in getDefaultParseOptions()
1071 …public TimeZone parse(Style style, String text, ParsePosition pos, EnumSet<ParseOption> options, O… in parse()
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc638 return ParseOption(file->mutable_options(), location, file, in ParseTopLevelStatement()
758 return ParseOption(message->mutable_options(), location, in ParseMessageStatement()
1055 DO(ParseOption(field->mutable_options(), location, in ParseFieldOptions()
1287 bool Parser::ParseOption(Message* options, in ParseOption() function in google::protobuf::compiler::Parser
1721 return ParseOption(enum_type->mutable_options(), location, in ParseEnumStatement()
1777 DO(ParseOption(value->mutable_options(), location, in ParseEnumConstantOptions()
1836 return ParseOption(service->mutable_options(), location, in ParseServiceStatement()
1929 if (!ParseOption(mutable_options, location, in ParseMethodOptions()
Dparser.h454 bool ParseOption(Message* options,
/external/icu/icu4j/
Dcoverage-exclusion.txt876 com/ibm/icu/text/TimeZoneFormat$ParseOption#valueOf:(Ljava/lang/String;)Lcom/ibm/icu/text/TimeZoneF…
/external/icu/icu4j/tools/build/
Dicu4j57.api3.gz
Dicu4j55.api3.gz
Dicu4j56.api3.gz
Dicu4j54.api3.gz
Dicu4j58.api3.gz
Dicu4j51.api3.gz
Dicu4j52.api3.gz
Dicu4j49.api3.gz
Dicu4j50.api3.gz
Dicu4j53.api3.gz