Searched defs:fmt (Results 1 - 6 of 6) sorted by relevance
/libcore/luni/src/test/java/libcore/java/text/ |
H A D | DateFormatSymbolsTest.java | 88 private String formatDate(Locale l, String fmt, DateFormatSymbols dfs) { argument 89 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l);
|
H A D | SimpleDateFormatTest.java | 195 private static long parseTimeUtc(String fmt, String value) { argument 196 return parseDateUtc(Locale.ENGLISH, fmt, value).getTime().getTime(); 215 private String formatDateUtc(Locale l, String fmt) { argument 216 return formatDate(l, fmt, UTC); 219 private String formatDate(Locale l, String fmt, TimeZone tz) { argument 220 DateFormat dateFormat = new SimpleDateFormat(fmt, l); 225 private static void assertCannotParse(Locale l, String fmt, String value) { argument 226 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l); 230 assertNull("Value " + value + " must not parse in locale " + l + " with format " + fmt, d); 234 * Parse a date with a SimpleDateFormat set to use UTC. If fmt contain 238 parseDateUtc(Locale l, String fmt, String value) argument 242 parseDate(Locale l, String fmt, String value, TimeZone tz) argument 766 formatDateNonGregorianCalendar(String fmt) argument [all...] |
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
H A D | TestZoneTextPrinterParser.java | 192 DateTimeFormatter fmt = new DateTimeFormatterBuilder().appendZoneText(style, preferred) 196 String ret = fmt.parse(text, TemporalQueries.zone()).getId(); 210 DateTimeFormatter fmt = getFormatter(locale, style, ci); 218 parse(fmt, zid, expected, zid, locale, style, ci); 221 parse(fmt, zid, expected, names[i], locale, style, ci); 226 private void parse(DateTimeFormatter fmt, argument 232 String ret = fmt.parse(text, TemporalQueries.zone()).getId();
|
/libcore/ojluni/src/main/java/java/io/ |
H A D | Console.java | 144 * @param fmt 170 public Console format(String fmt, Object ...args) { argument 171 formatter.format(fmt, args).flush(); 217 * @param fmt 244 public String readLine(String fmt, Object ... args) { argument 248 if (fmt.length() != 0) 249 pw.format(fmt, args); 280 * @param fmt 308 public char[] readPassword(String fmt, Object ... args) { argument 319 if (fmt [all...] |
/libcore/ojluni/src/main/native/ |
H A D | UnixFileSystem_md.c | 127 int fmt = mode & S_IFMT; local 129 | ((fmt == S_IFREG) ? java_io_FileSystem_BA_REGULAR : 0) 130 | ((fmt == S_IFDIR) ? java_io_FileSystem_BA_DIRECTORY : 0));
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
H A D | TCKDateTimeFormatter.java | 125 private DateTimeFormatter fmt; field in class:TCKDateTimeFormatter 129 fmt = new DateTimeFormatterBuilder().appendLiteral("ONE") 137 DateTimeFormatter base = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); 144 DateTimeFormatter base = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); 151 DateTimeFormatter test = fmt; 162 DateTimeFormatter test = fmt; 403 DateTimeFormatter test = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); 410 DateTimeFormatter test = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); 416 DateTimeFormatter test = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); 423 DateTimeFormatter test = fmt [all...] |
Completed in 121 milliseconds