Lines Matching defs:format

73  * with a default format pattern. You may modify the format pattern
291 * 00 and 59. The format is locale independent and digits must be taken
296 * For formatting, the RFC 822 4-digit time zone format is used:
309 * The number of pattern letters designates the format for both formatting
398 * It is recommended to create separate format instances for each thread.
399 * If multiple threads access a format concurrently, it must be synchronized
402 * @see <a href="http://java.sun.com/docs/books/tutorial/i18n/format/simpleDateFormat.html">Java Tutorial</a>
428 * When streaming out this class, the most recent format
451 * The minus sign to be used with format and parse.
529 * the DateFormatSymbols. If true, the format and parse methods
530 * use the DateFormatSymbols values. If false, the format and
538 * date format symbols for the default locale.
549 * the default date format symbols for the default locale.
554 * @param pattern the pattern describing the date and time format
565 * the default date format symbols for the given locale.
570 * @param pattern the pattern describing the date and time format
571 * @param locale the locale whose date format symbols should be used
590 * date format symbols.
592 * @param pattern the pattern describing the date and time format
593 * @param formatSymbols the date format symbols to be used for formatting
641 pattern = MessageFormat.format(dateTimePatterns[8], dateTimeArgs);
678 // The format object must be constructed using the symbols for this zone.
878 throw new IllegalArgumentException("invalid ISO 8601 format: length=" + length);
944 public StringBuffer format(Date date, StringBuffer toAppendTo,
948 return format(date, toAppendTo, pos.getFieldDelegate());
952 private StringBuffer format(Date date, StringBuffer toAppendTo,
996 * @exception IllegalArgumentException if the Format cannot format the
998 * @param obj The object to format
1008 format((Date)obj, sb, delegate);
1011 format(new Date(((Number)obj).longValue()), sb, delegate);
1019 "Cannot format given Object as a Date");
1297 // either 2 or Integer.MAX_VALUE (maxIntCount in format()).
1335 numberFormat.format((long)value, buffer, DontCareFieldPosition.INSTANCE);
2171 * Returns a pattern string describing this date format.
2173 * @return a pattern string describing this date format.
2180 * Returns a localized pattern string describing this date format.
2182 * @return a localized pattern string describing this date format.
2191 * Applies the given pattern string to this date format.
2193 * @param pattern the new date and time pattern for this date format
2204 * Applies the given localized pattern string to this date format.
2206 * @param pattern a String to be mapped to the new date and time format
2207 * pattern for this format
2220 * Gets a copy of the date and time format symbols of this date format.
2222 * @return the date and time format symbols of this date format
2231 * Sets the date and time format symbols of this date format.
2233 * @param newFormatSymbols the new date and time format symbols
2245 * clones the format's date format symbols.
2282 * After reading an object from the input stream, the format