Lines Matching refs:parse
31 * \brief C++ API: Format and parse dates in a language-independent manner.
158 * // Parse the previous string back into a Date.
160 * UDate currentTime_2 = formatter->parse(dateString, pp );
195 * parse "1234". In other words, the leftmost field of the run is flexible,
196 * while the others keep a fixed width. If the parse fails anywhere in the run,
198 * parsed again. This is repeated until either the parse succeeds or the
199 * leftmost field is one character in length. If the parse still fails at that
200 * point, the parse of the run fails.
520 * Parse a date/time string beginning at the given parse position. For
526 * parse succeeds. Clients may insist on strict adherence to the format by
534 * start position if the parse failed.
538 virtual void parse( const UnicodeString& text,
543 * Parse a date/time string starting at the given parse position. For
549 * parse succeeds. Clients may insist on strict adherence to the format by
557 * start position if the parse failed.
561 UDate parse( const UnicodeString& text,
566 * Parse a date/time string. For example, a time text "07/10/96 4:5 PM, PDT"
569 * possible. Assuming no parse errors were encountered, this function
572 * parse() that takes a ParsePosition.
575 * @param status Filled in with U_ZERO_ERROR if the parse was successful, and with
576 * an error value if there was a parse error.
580 virtual UDate parse( const UnicodeString& text,
595 * @param status Filled in with U_ZERO_ERROR if the parse was successful, and with
596 * an error value if there was a parse error.
612 * @param status Filled in with U_ZERO_ERROR if the parse was successful, and with
613 * an error value if there was a parse error.
1027 * Parse the given override string and set up structures for number formats