Lines Matching refs:format

23 #include "unicode/format.h"
29 * Constants for time zone display format style used by format/parse APIs
35 * Generic location format, such as "United States Time (New York)", "Italy Time"
40 * Generic long non-location format, such as "Eastern Time".
45 * Generic short non-location format, such as "ET".
50 * Specific long format, such as "Eastern Standard Time".
55 * Specific short format, such as "EST", "PDT".
60 * Localized GMT offset format, such as "GMT-05:00", "UTC+0100"
65 * Short localized GMT offset format, such as "GMT-5", "UTC+1:30"
66 * This style is equivalent to the LDML date format pattern "O".
71 * Short ISO 8601 local time difference (basic format) or the UTC indicator.
73 * This style is equivalent to the LDML date format pattern "X".
78 * Short ISO 8601 locale time difference (basic format).
80 * This style is equivalent to the LDML date format pattern "x".
85 * Fixed width ISO 8601 local time difference (basic format) or the UTC indicator.
87 * This style is equivalent to the LDML date format pattern "XX".
92 * Fixed width ISO 8601 local time difference (basic format).
94 * This style is equivalent to the LDML date format pattern "xx".
99 * ISO 8601 local time difference (basic format) with optional seconds field, or the UTC indicator.
101 * This style is equivalent to the LDML date format pattern "XXXX".
106 * ISO 8601 local time difference (basic format) with optional seconds field.
108 * This style is equivalent to the LDML date format pattern "xxxx".
113 * Fixed width ISO 8601 local time difference (extended format) or the UTC indicator.
115 * This style is equivalent to the LDML date format pattern "XXX".
120 * Fixed width ISO 8601 local time difference (extended format).
122 * This style is equivalent to the LDML date format pattern "xxx" and "ZZZZZ".
127 * ISO 8601 local time difference (extended format) with optional seconds field, or the UTC indicator.
129 * This style is equivalent to the LDML date format pattern "XXXXX".
134 * ISO 8601 local time difference (extended format) with optional seconds field.
136 * This style is equivalent to the LDML date format pattern "xxxxx".
330 * Sets the time zone display name data to this format instance.
339 * Sets the time zone display name data to this format instance.
346 * Returns the localized GMT format pattern.
347 * @param pattern Receives the localized GMT format pattern.
355 * Sets the localized GMT format pattern. The pattern must contain
357 * @param pattern The localized GMT format pattern to be used by this object.
365 * Returns the offset pattern used for localized GMT format.
377 * @param pattern The offset pattern used for localized GMT format for the type.
385 * Returns the decimal digit characters used for localized GMT format.
389 * @param digits Receives the decimal digits used for localized GMT format.
396 * Sets the decimal digit characters used for localized GMT format.
402 * @param digits The decimal digits used for localized GMT format.
410 * Returns the localized GMT format string for GMT(UTC) itself (GMT offset is 0).
419 * Sets the localized GMT format string for GMT(UTC) itself (GMT offset is 0).
420 * @param gmtZeroFormat The localized GMT format string for GMT(UTC).
454 * @param result Receives the ISO format string.
456 * @return the ISO 8601 basic format.
472 * @param result Receives the ISO format string.
474 * @return the ISO 8601 basic format.
483 * Returns the localized GMT(UTC) offset format for the given offset.
486 * <li>GMT format pattern (e.g. "GMT {0}" - see {@link #getGMTPattern})
489 * <li>GMT zero format (e.g. "GMT" - see {@link #getGMTZeroFormat})
491 * This format always uses 2 digit hours and minutes. When the given offset has non-zero
496 * @param result Receives the localized GMT format string.
504 * Returns the short localized GMT(UTC) offset format for the given offset.
507 * <li>GMT format pattern (e.g. "GMT {0}" - see {@link #getGMTPattern})
510 * <li>GMT zero format (e.g. "GMT" - see {@link #getGMTZeroFormat})
512 * This format uses the shortest representation of offset. The hours field does not
517 * @param result Receives the short localized GMT format string.
524 using Format::format;
539 virtual UnicodeString& format(UTimeZoneFormatStyle style, const TimeZone& tz, UDate date,
560 * offset format string. When the given string cannot be parsed, this method
566 * offset format string.
574 * offset format string. When the given string cannot be parsed, this method
580 * offset format string.
588 * the given parse position, the specified format style and parse options.
591 * @param style The format style
607 * the given parse position, the specified format style and the default parse options.
610 * @param style The format style
628 * Format an object to produce a time zone display string using localized GMT offset format.
631 * @param obj The object to format. Must be a <code>TimeZone</code>.
638 virtual UnicodeString& format(const Formattable& obj, UnicodeString& appendTo,
689 /* Localized GMT format pattern - e.g. "GMT{0}" */
692 /* Array of offset patterns used by Localized GMT format - e.g. "+HH:mm" */
695 /* Localized decimal digits used by Localized GMT format */
698 /* Localized GMT zero format - e.g. "GMT" */
704 /* Constant parts of GMT format pattern, populated from localized GMT format pattern*/
717 * Returns the time zone's specific format string.
722 * @param name receives the time zone's specific format name string
730 * Returns the time zone's generic format string.
734 * @param name receives the time zone's generic format name string
781 * Parse the GMT offset pattern into runtime optimized format.
830 * @return the ISO 8601 basic format.
838 * @param isShort true if the short localized GMT format is desired.
839 * @param result receives the localized GMT format string
846 * (extended format) time zone string. When the given string is not an ISO 8601 time
852 * @param extendedOnly true if parsing the text as ISO 8601 extended offset format (e.g. "-08:00"),
853 * or false to evaluate the text as basic format.
872 * offset format string. When the given string cannot be parsed, this method
877 * @param isShort true if this parser to try the short format first
880 * offset format string.
886 * Parse localized GMT format generated by the patter used by this formatter, except
887 * GMT Zero format.
890 * @param isShort true if the short localized format is parsed.
901 * @param isShort true if this is a short format - currently not used
931 * Parses the input text using the default format patterns (e.g. "UTC{0}").
1021 * Unquotes the message format style pattern.
1029 * Initialize localized GMT format offset hour/min/sec patterns.
1030 * This method parses patterns into optimized run-time format.
1036 * Check if there are any GMT format offset patterns without