def _partialParseTimeStr(self, s, sourceTime):
parseStr = None<EOL>chunk1 = chunk2 = '<STR_LIT>'<EOL>m = self.ptc.CRE_TIME.search(s)<EOL>if m is not None or s in self.ptc.re_values['<STR_LIT>']:<EOL><INDENT>if (m and m.group() != s):<EOL><INDENT>parseStr = m.group()<EOL>chunk1 = s[:m.start()]<EOL>chunk2 = s[m.end():]<EOL>s = '<STR_LIT>' % (chunk1, chunk2)<EOL><DEDENT>else:<EOL><INDENT>parseStr = s<EOL>s = '<STR_LIT>'<EOL><DEDENT><DEDENT>if parseStr:<EOL><INDENT>debug and log.debug(<EOL>'<STR_LIT>', parseStr, chunk1, chunk2)<EOL>sourceTime = self._evalTimeStr(parseStr, sourceTime)<EOL><DEDENT>return s, sourceTime, bool(parseStr)<EOL>
test if giving C{s} matched CRE_TIME, used by L{parse()}

@type  s:          string
@param s:          date/time text to evaluate
@type  sourceTime: struct_time
@param sourceTime: C{struct_time} value to use as the base

@rtype:  tuple
@return: tuple of remained date/time text, datetime object and
         an boolean value to describ if matched or not