Home
last modified time | relevance | path

Searched defs:style (Results 1 – 25 of 43) sorted by relevance

12

/libcore/ojluni/src/main/java/sun/util/locale/provider/
DCalendarDataUtility.java105 public static String retrieveFieldValueName(String id, int field, int value, int style, in retrieveFieldValueName()
152 public static String retrieveJavaTimeFieldValueName(String id, int field, int value, int style, in retrieveJavaTimeFieldValueName()
168 public static Map<String, Integer> retrieveFieldValueNames(String id, int field, int style, in retrieveFieldValueNames()
200 int style, Locale locale) { in retrieveJavaTimeFieldValueNames()
229 private static Map<String, Integer> retrieveFieldValueNamesImpl(String id, int field, int style, in retrieveFieldValueNamesImpl()
265 private static String[] getNames(String id, int field, int style, Locale locale) { in getNames()
302 private static int toWidth(int style) { in toWidth()
321 private static int toContext(int style) { in toContext()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestZoneTextPrinterParser.java62 protected static DateTimeFormatter getFormatter(Locale locale, TextStyle style) { in getFormatter()
126 …private void printText(Locale locale, ZonedDateTime zdt, TextStyle style, TimeZone zone, String ex… in printText()
204 …st_ParseText(String expected, String text, Set<ZoneId> preferred, Locale locale, TextStyle style) { in test_ParseText()
221 private void parseText(Set<String> zids, Locale locale, TextStyle style, boolean ci) { in parseText()
241 Locale locale, TextStyle style, boolean ci) { in parse()
261 private DateTimeFormatter getFormatter(Locale locale, TextStyle style, boolean ci) { in getFormatter()
DTestTextParser.java98 …public void test_parse_error(TemporalField field, TextStyle style, String text, int pos, Class<?> … in test_parse_error()
249 …public void test_parseText(TemporalField field, TextStyle style, int value, String input) throws E… in test_parseText()
256 …public void test_parseNumber(TemporalField field, TextStyle style, int value, String input) throws… in test_parseNumber()
263 …public void test_parseStandaloneText(Locale locale, TemporalField field, TextStyle style, int expe… in test_parseStandaloneText()
280 …public void test_parse_strict_caseSensitive_parseUpper(TemporalField field, TextStyle style, int v… in test_parse_strict_caseSensitive_parseUpper()
292 …public void test_parse_strict_caseInsensitive_parseUpper(TemporalField field, TextStyle style, int… in test_parse_strict_caseInsensitive_parseUpper()
301 …public void test_parse_strict_caseSensitive_parseLower(TemporalField field, TextStyle style, int v… in test_parse_strict_caseSensitive_parseLower()
313 …public void test_parse_strict_caseInsensitive_parseLower(TemporalField field, TextStyle style, int… in test_parse_strict_caseInsensitive_parseLower()
DTestTextPrinter.java247 …public void test_format(TemporalField field, TextStyle style, int value, String expected) throws E… in test_format()
260 …public void test_formatJapaneseEra(TemporalField field, TextStyle style, int value, String expecte… in test_formatJapaneseEra()
267 …public void test_standaloneNames(Locale locale, TemporalField field, TextStyle style, String expec… in test_standaloneNames()
DTestNumberParser.java96 …public void test_parse_error(TemporalField field, int min, int max, SignStyle style, String text, … in test_parse_error()
308 …public void test_parseSignsStrict(String input, int min, int max, SignStyle style, int parseLen, I… in test_parseSignsStrict()
417 …public void test_parseSignsLenient(String input, int min, int max, SignStyle style, int parseLen, … in test_parseSignsLenient()
508 …public void test_parseDigitsLenient(String input, int min, int max, SignStyle style, int parseLen,… in test_parseDigitsLenient()
DTestDateTimeTextProvider.java184 …public void test_getText(TemporalField field, Number value, TextStyle style, Locale locale, String… in test_getText()
DAbstractTestPrinterParser.java132 protected DateTimeFormatter getFormatter(TemporalField field, TextStyle style) { in getFormatter()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKSignStyle.java86 assertEquals(SignStyle.valueOf(style.name()), style); in test_valueOf() local
119 …public void test_signStyle(LocalDate localDate, SignStyle style, Class<?> expectedEx, String expec… in test_signStyle()
DTCKFormatStyle.java89 assertEquals(FormatStyle.valueOf(style.name()), style); in test_valueOf() local
110 public void test_formatStyle(Temporal temporal, FormatStyle style, String formattedStr) { in test_formatStyle()
DTCKResolverStyle.java88 assertEquals(ResolverStyle.valueOf(style.name()), style); in test_valueOf() local
110 …public void test_resolverStyle(String str, ResolverStyle style, Class<?> expectedEx, int year, int… in test_resolverStyle()
DTCKTextStyle.java100 assertEquals(TextStyle.valueOf(style.name()), style); in test_valueOf() local
DTCKDateTimeTextPrinting.java139 …public void test_appendText2arg_format(TemporalField field, TextStyle style, int value, String exp… in test_appendText2arg_format()
148 …public void test_appendText1arg_format(TemporalField field, TextStyle style, int value, String exp… in test_appendText1arg_format()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeTextProvider.java142 public String getText(TemporalField field, long value, TextStyle style, Locale locale) { in getText()
166 TextStyle style, Locale locale) { in getText()
220 …public Iterator<Entry<String, Long>> getTextIterator(TemporalField field, TextStyle style, Locale … in getTextIterator()
246 TextStyle style, Locale locale) { in getTextIterator()
576 String getText(long value, TextStyle style) { in getText()
590 Iterator<Entry<String, Long>> getTextIterator(TextStyle style) { in getTextIterator()
/libcore/luni/src/test/java/libcore/java/text/
DDateFormatTest.java50 private static void checkTimePattern(int style, String expectedPattern) { in checkTimePattern()
/libcore/ojluni/annotations/sdk/nullability/java/text/
DDateFormat.annotated.java68 @libcore.util.NonNull public static final java.text.DateFormat getTimeInstance(int style) { throw n… in getTimeInstance()
70 @libcore.util.NonNull public static final java.text.DateFormat getTimeInstance(int style, @libcore.… in getTimeInstance()
74 @libcore.util.NonNull public static final java.text.DateFormat getDateInstance(int style) { throw n… in getDateInstance()
76 @libcore.util.NonNull public static final java.text.DateFormat getDateInstance(int style, @libcore.… in getDateInstance()
/libcore/ojluni/annotations/mmodule/java/text/
DDateFormat.annotated.java68 public static final java.text.DateFormat getTimeInstance(int style) { throw new RuntimeException("S… in getTimeInstance()
70 public static final java.text.DateFormat getTimeInstance(int style, java.util.Locale aLocale) { thr… in getTimeInstance()
74 public static final java.text.DateFormat getDateInstance(int style) { throw new RuntimeException("S… in getDateInstance()
76 public static final java.text.DateFormat getDateInstance(int style, java.util.Locale aLocale) { thr… in getDateInstance()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKHijrahChronology.java216 public void test_resolve_yearOfEra_eraOnly_valid(ResolverStyle style, HijrahEra era) { in test_resolve_yearOfEra_eraOnly_valid()
226 … public void test_resolve_yearOfEra_eraAndYearOfEraOnly_valid(ResolverStyle style, HijrahEra era) { in test_resolve_yearOfEra_eraAndYearOfEraOnly_valid()
239 public void test_resolve_yearOfEra_eraAndYearOnly_valid(ResolverStyle style, HijrahEra era) { in test_resolve_yearOfEra_eraAndYearOnly_valid()
261 public void test_resolve_yearOfEra_yearOfEraOnly_valid(ResolverStyle style) { in test_resolve_yearOfEra_yearOfEraOnly_valid()
272 public void test_resolve_yearOfEra_yearOfEraAndYearOnly_valid(ResolverStyle style) { in test_resolve_yearOfEra_yearOfEraAndYearOnly_valid()
/libcore/ojluni/src/main/java/java/text/
DDateFormat.java471 public final static DateFormat getTimeInstance(int style) in getTimeInstance()
484 public final static DateFormat getTimeInstance(int style, in getTimeInstance()
517 public final static DateFormat getDateInstance(int style) in getDateInstance()
530 public final static DateFormat getDateInstance(int style, in getDateInstance()
/libcore/ojluni/annotations/hiddenapi/java/text/
DDateFormat.java81 public static final java.text.DateFormat getTimeInstance(int style) { in getTimeInstance()
85 public static final java.text.DateFormat getTimeInstance(int style, java.util.Locale aLocale) { in getTimeInstance()
93 public static final java.text.DateFormat getDateInstance(int style) { in getDateInstance()
97 public static final java.text.DateFormat getDateInstance(int style, java.util.Locale aLocale) { in getDateInstance()
/libcore/ojluni/src/main/java/java/time/chrono/
DEra.java320 default String getDisplayName(TextStyle style, Locale locale) { in getDisplayName()
/libcore/ojluni/annotations/hiddenapi/java/util/
DCalendar.java149 public java.lang.String getDisplayName(int field, int style, java.util.Locale locale) { in getDisplayName()
154 int field, int style, java.util.Locale locale) { in getDisplayNames()
159 int field, int style, java.util.Locale locale) { in getDisplayNamesImpl()
165 int style, in checkDisplayNameParams()
174 int field, int style, java.text.DateFormatSymbols symbols) { in getFieldStrings()
218 int getBaseStyle(int style) { in getBaseStyle()
222 private int toStandaloneStyle(int style) { in toStandaloneStyle()
226 private boolean isStandaloneStyle(int style) { in isStandaloneStyle()
230 private boolean isNarrowStyle(int style) { in isNarrowStyle()
234 private boolean isNarrowFormatStyle(int style) { in isNarrowFormatStyle()
/libcore/ojluni/src/main/java/java/util/
DCalendar.java2063 public String getDisplayName(int field, int style, Locale locale) { in getDisplayName()
2159 public Map<String, Integer> getDisplayNames(int field, int style, Locale locale) { in getDisplayNames()
2189 private Map<String,Integer> getDisplayNamesImpl(int field, int style, Locale locale) { in getDisplayNamesImpl()
2205 boolean checkDisplayNameParams(int field, int style, int minStyle, int maxStyle, in checkDisplayNameParams()
2224 private String[] getFieldStrings(int field, int style, DateFormatSymbols symbols) { in getFieldStrings()
2573 int getBaseStyle(int style) { in getBaseStyle()
2581 public static int toStandaloneStyle(int style) { in toStandaloneStyle()
2586 private boolean isStandaloneStyle(int style) { in isStandaloneStyle()
2590 private boolean isNarrowStyle(int style) { in isNarrowStyle()
2594 private boolean isNarrowFormatStyle(int style) { in isNarrowFormatStyle()
/libcore/ojluni/src/main/java/java/time/
DDayOfWeek.java226 public String getDisplayName(TextStyle style, Locale locale) { in getDisplayName()
DZoneId.java502 public String getDisplayName(TextStyle style, Locale locale) { in getDisplayName()
/libcore/luni/src/main/java/libcore/icu/
DLocaleData.java249 public String getDateFormat(int style) { in getDateFormat()
263 public String getTimeFormat(int style) { in getTimeFormat()

12