Lines Matching refs:parse
213 * are <em>public:</em> the caller can specify that they be used to format and parse numbers.
217 * <p>The user can also specify a special "rule set" named <tt>%%lenient-parse</tt>.
218 * The body of <tt>%%lenient-parse</tt> isn't a set of number-formatting rules, but a <tt>RuleBasedCollator</tt>
223 * of the <tt>lenient-parse</tt> rule set.</p>
516 * @param perror The parse error if an error was encountered.
541 * @param perror The parse error if an error was encountered.
559 * @param perror The parse error if an error was encountered.
588 * @param perror The parse error if an error was encountered.
858 * parse mode.
859 * @param text The string to parse
860 * @param result the result of the parse, either a double or a long.
863 * of the first character in "text" that wasn't consumed by the parse.
867 virtual void parse(const UnicodeString& text,
874 * @param text The string to parse
875 * @param result the result of the parse, either a double or a long.
879 virtual inline void parse(const UnicodeString& text,
886 * Turns lenient parse mode on and off.
888 * When in lenient parse mode, the formatter uses a Collator for parsing the text.
895 * For example, all of the following will correctly parse as 255 in English in
896 * lenient-parse mode:
912 * it will correctly parse "two hundred zero" and "fifteen hundred".
914 * @param enabled If true, turns lenient-parse mode on; if false, turns it off.
921 * Returns true if lenient-parse mode is turned on. Lenient parsing is off
923 * @return true if lenient-parse mode is turned on.
998 // Temporary workaround - when noParse is true, do noting in parse.
1031 RuleBasedNumberFormat::parse(const UnicodeString& text, Formattable& result, UErrorCode& status) const
1033 NumberFormat::parse(text, result, status);