Lines Matching refs:format
31 * \brief C++ API: Format and parse dates in a language-independent manner.
386 * generation, it should match the 12-hour-cycle format preferred by the locale (h or K); it should not match
387 * a 24-hour-cycle format (H or k). Use hh for zero padding.</td>
394 * generation, it should match the 24-hour-cycle format preferred by the locale (H or k); it should not match a
395 * 12-hour-cycle format (h or K). Use HH for zero padding.</td>
444 * <td>The <i>short specific non-location format</i>.
445 * Where that is unavailable, falls back to the <i>short localized GMT format</i> ("O").</td>
450 * <td>The <i>long specific non-location format</i>.
451 * Where that is unavailable, falls back to the <i>long localized GMT format</i> ("OOOO").</td>
457 * <td>The <i>ISO8601 basic format</i> with hours, minutes and optional seconds fields.
458 * The format is equivalent to RFC 822 zone format (when optional seconds field is absent).
464 * <td>The <i>long localized GMT format</i>.
471 * <td>The <i>ISO8601 extended format</i> with hours, minutes and optional seconds fields.
479 * <td>The <i>short localized GMT format</i>.</td>
484 * <td>The <i>long localized GMT format</i>.</td>
490 * <td>The <i>short generic non-location format</i>.
491 * Where that is unavailable, falls back to the <i>generic location format</i> ("VVVV"),
492 * then the <i>short localized GMT format</i> as the final fallback.</td>
497 * <td>The <i>long generic non-location format</i>.
498 * Where that is unavailable, falls back to <i>generic location format</i> ("VVVV").
506 * <i><b>Note</b>: This specifier was originally used for a variant of the short specific non-location format,
525 * <td>The <i>generic location format</i>.
526 * Where that is unavailable, falls back to the <i>long localized GMT format</i> ("OOOO";
529 * since the naming is more uniform than the "v" format.</td>
537 * <td>The <i>ISO8601 basic format</i> with hours field and optional minutes field.
544 * <td>The <i>ISO8601 basic format</i> with hours and minutes fields.
551 * <td>The <i>ISO8601 extended format</i> with hours and minutes fields.
559 * <td>The <i>ISO8601 basic format</i> with hours, minutes and optional seconds fields.
568 * <td>The <i>ISO8601 extended format</i> with hours, minutes and optional seconds fields.
577 * <td>The <i>ISO8601 basic format</i> with hours field and optional minutes field.</td>
582 * <td>The <i>ISO8601 basic format</i> with hours and minutes fields.</td>
587 * <td>The <i>ISO8601 extended format</i> with hours and minutes fields.</td>
593 * <td>The <i>ISO8601 basic format</i> with hours, minutes and optional seconds fields.
600 * <td>The <i>ISO8601 extended format</i> with hours, minutes and optional seconds fields.
617 * Format Pattern Result
635 * // Format the current time.
642 * formatter->format( currentTime_1, dateString, fp );
652 * marker 'a' is left out from the format pattern while the "hour in am/pm"
681 * parsed specially. For example, the format "HHmmss" parses the input text
696 * There is one common number format to handle all the numbers; the digit count
723 * @param pattern the pattern for the format.
746 * @param pattern the pattern for the format.
762 * @param pattern the pattern for the format.
786 * @param pattern the pattern for the format.
801 * @param pattern the given pattern for the format.
814 * @param pattern the given pattern for the format.
842 * Clone this Format object polymorphically. The caller owns the result and
847 virtual Format* clone(void) const;
850 * Return true if the given Format objects are semantically equal. Objects
853 * @return true if the given Format objects are semantically equal.
856 virtual UBool operator==(const Format& other) const;
859 using DateFormat::format;
862 * Format a date or time, which is the standard millis since 24:00 GMT, Jan
877 virtual UnicodeString& format( Calendar& cal,
882 * Format a date or time, which is the standard millis since 24:00 GMT, Jan
893 * of fields generated by this format call. Field values
899 virtual UnicodeString& format( Calendar& cal,
905 * Format a date or time, which is the standard millis since 24:00 GMT, Jan
923 virtual UnicodeString& format( const Formattable& obj,
929 * Format a date or time, which is the standard millis since 24:00 GMT, Jan
942 * of fields generated by this format call. Field values
948 virtual UnicodeString& format( const Formattable& obj,
963 UnicodeString& format(UDate date,
973 * of fields generated by this format call. Field values
979 UnicodeString& format(UDate date,
993 UnicodeString& format(const Formattable& obj,
1005 UnicodeString& format(UDate date, UnicodeString& appendTo) const;
1013 * this object's format method but can still be parsed as a date, then the
1014 * parse succeeds. Clients may insist on strict adherence to the format by
1043 * this object's format method but can still be parsed as a date, then the
1044 * parse succeeds. Clients may insist on strict adherence to the format by
1053 * ERA field of the Calendar object) is not normally part of the format,
1058 * within the era/cycle that should be assumed if absent in the format.
1081 * this object's format method but can still be parsed as a date, then the
1082 * parse succeeds. Clients may insist on strict adherence to the format by
1091 * ERA field of the Calendar object) is not normally part of the format,
1096 * within the era/cycle that should be assumed if absent in the format.
1143 * Return a pattern string describing this date format.
1151 * Return a localized pattern string describing this date format.
1170 * Apply the given unlocalized pattern string to this date format.
1171 * (i.e., after this call, this formatter will format dates according to
1180 * Apply the given localized pattern string to this date format.
1244 * Set the calendar to be used by this date format. Initially, the default
1297 * Gets the time zone format object associated with this date/time formatter.
1298 * @return the time zone format associated with this date/time formatter.
1370 * Hook called by format(... FieldPosition& ...) and format(...FieldPositionIterator&...)
1375 * Called by format() to format a single field.
1379 * @param ch The format character we encountered in the pattern.
1383 * @param capitalizationContext Capitalization context for this date format.
1384 * @param fieldNum Zero-based numbering of current field within the overall format.
1400 * Used by subFormat() to format a numeric value.
1408 * @param value Value to format.
1419 * Return true if the given format character, occuring count
1718 SimpleDateFormat::format(const Formattable& obj,
1721 // Don't use Format:: - use immediate base class only,
1723 return DateFormat::format(obj, appendTo, status);
1727 SimpleDateFormat::format(const Formattable& obj,
1732 // Don't use Format:: - use immediate base class only,
1734 return DateFormat::format(obj, appendTo, pos, status);
1738 SimpleDateFormat::format(const Formattable& obj,
1743 // Don't use Format:: - use immediate base class only,
1745 return DateFormat::format(obj, appendTo, posIter, status);
1749 SimpleDateFormat::format(UDate date,
1752 // Don't use Format:: - use immediate base class only,
1754 return DateFormat::format(date, appendTo, fieldPosition);
1758 SimpleDateFormat::format(UDate date,
1762 // Don't use Format:: - use immediate base class only,
1764 return DateFormat::format(date, appendTo, posIter, status);
1768 SimpleDateFormat::format(UDate date, UnicodeString& appendTo) const {
1769 return DateFormat::format(date, appendTo);