Lines Matching defs:format
17 package android.text.format;
314 * Print the current value given the format string provided. See man
317 * @param format a string containing the desired format.
320 public String format(String format) {
345 String result = format1(format);
353 native private String format1(String format);
372 * Return the current time in YYYYMMDDTHHMMSS<tz> format
378 * Parses a date-time string in either the RFC 2445 format or an abbreviated
379 * format that does not include the "time" field. For example, all of the
425 * Parse a time in the current zone in YYYYMMDDTHHMMSS format.
430 * Parse a time in RFC 3339 format. This method also parses simple dates
548 * The same as format("%Y%m%dT%H%M%S").
678 * Return a string in the RFC 3339 format.
686 * @return string in the RFC 3339 format.
690 return format(Y_M_D);
692 return format(Y_M_D_T_H_M_S_000_Z);
694 String base = format(Y_M_D_T_H_M_S_000);
700 return String.format(Locale.US, "%s%s%02d:%02d", base, sign, hours, minutes);