Searched refs:style (Results 1 – 8 of 8) sorted by relevance
/libcore/luni/src/main/java/java/text/ |
D | DateFormat.java | 377 public static final DateFormat getDateInstance(int style) { in getDateInstance() argument 378 checkDateStyle(style); in getDateInstance() 379 return getDateInstance(style, Locale.getDefault()); in getDateInstance() 396 public static final DateFormat getDateInstance(int style, Locale locale) { in getDateInstance() argument 397 checkDateStyle(style); in getDateInstance() 401 return new SimpleDateFormat(LocaleData.get(locale).getDateFormat(style), locale); in getDateInstance() 510 public static final DateFormat getTimeInstance(int style) { in getTimeInstance() argument 511 checkTimeStyle(style); in getTimeInstance() 512 return getTimeInstance(style, Locale.getDefault()); in getTimeInstance() 529 public static final DateFormat getTimeInstance(int style, Locale locale) { in getTimeInstance() argument [all …]
|
D | DateFormatSymbols.java | 500 String getTimeZoneDisplayName(TimeZone tz, boolean daylight, int style) { in getTimeZoneDisplayName() argument 501 if (style != TimeZone.SHORT && style != TimeZone.LONG) { in getTimeZoneDisplayName() 502 throw new IllegalArgumentException("Bad style: " + style); in getTimeZoneDisplayName() 508 return TimeZoneNames.getDisplayName(zoneStrings, tz.getID(), daylight, style); in getTimeZoneDisplayName()
|
D | SimpleDateFormat.java | 742 int style = count < 4 ? TimeZone.SHORT : TimeZone.LONG; in appendTimeZone() local 743 String zoneString = formatData.getTimeZoneDisplayName(tz, daylight, style); in appendTimeZone()
|
/libcore/luni/src/main/java/java/util/ |
D | Calendar.java | 1289 public String getDisplayName(int field, int style, Locale locale) { in getDisplayName() argument 1291 if (style == ALL_STYLES) { in getDisplayName() 1292 style = SHORT; in getDisplayName() 1294 String[] array = getDisplayNameArray(field, style, locale); in getDisplayName() 1299 private String[] getDisplayNameArray(int field, int style, Locale locale) { in getDisplayNameArray() argument 1303 checkStyle(style); in getDisplayNameArray() 1309 return (style == LONG) ? dfs.getWeekdays() : dfs.getShortWeekdays(); in getDisplayNameArray() 1313 return (style == LONG) ? dfs.getMonths() : dfs.getShortMonths(); in getDisplayNameArray() 1318 private static void checkStyle(int style) { in checkStyle() argument 1319 if (style != ALL_STYLES && style != SHORT && style != LONG) { in checkStyle() [all …]
|
D | TimeZone.java | 174 public final String getDisplayName(boolean daylightTime, int style) { in getDisplayName() argument 175 return getDisplayName(daylightTime, style, Locale.getDefault()); in getDisplayName() 188 public String getDisplayName(boolean daylightTime, int style, Locale locale) { in getDisplayName() argument 189 if (style != SHORT && style != LONG) { in getDisplayName() 190 throw new IllegalArgumentException("Bad style: " + style); in getDisplayName() 194 String result = TimeZoneNames.getDisplayName(zoneStrings, getID(), daylightTime, style); in getDisplayName()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | LocaleData.java | 167 public String getDateFormat(int style) { in getDateFormat() argument 168 switch (style) { in getDateFormat() 181 public String getTimeFormat(int style) { in getTimeFormat() argument 182 switch (style) { in getTimeFormat()
|
D | TimeZoneNames.java | 113 …blic static String getDisplayName(String[][] zoneStrings, String id, boolean daylight, int style) { in getDisplayName() argument 119 return (style == TimeZone.LONG) ? row[LONG_NAME_DST] : row[SHORT_NAME_DST]; in getDisplayName() 121 return (style == TimeZone.LONG) ? row[LONG_NAME] : row[SHORT_NAME]; in getDisplayName()
|
/libcore/benchmarks/libs/ |
D | caliper.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |