Logo Search packages:      
Sourcecode: icu version File versions  Download package

U_STABLE UBool U_EXPORT2 udat_isLenient ( const UDateFormat fmt )

Determine if an UDateFormat will perform lenient parsing. With lenient parsing, the parser may use heuristics to interpret inputs that do not precisely match the pattern. With strict parsing, inputs must match the pattern.

fmtThe formatter to query
TRUE if fmt is set to perform lenient parsing, FALSE otherwise.
See also:
udat_setLenient ICU 2.0

Definition at line 211 of file udat.cpp.

    return ((DateFormat*)fmt)->isLenient();

Generated by  Doxygen 1.6.0   Back to index