def _evalDayStr(self, datetimeString, sourceTime):
s = datetimeString.strip()<EOL>sourceTime = self._evalDT(datetimeString, sourceTime)<EOL>(yr, mth, dy, hr, mn, sec, wd, yd, isdst) = sourceTime<EOL>try:<EOL><INDENT>offset = self.ptc.dayOffsets[s]<EOL><DEDENT>except KeyError:<EOL><INDENT>offset = <NUM_LIT:0><EOL><DEDENT>if self.ptc.StartTimeFromSourceTime:<EOL><INDENT>startHour = hr<EOL>startMinute = mn<EOL>startSecond = sec<EOL><DEDENT>else:<EOL><INDENT>startHour = <NUM_LIT:9><EOL>startMinute = <NUM_LIT:0><EOL>startSecond = <NUM_LIT:0><EOL><DEDENT>self.currentContext.updateAccuracy(pdtContext.ACU_DAY)<EOL>start = datetime.datetime(yr, mth, dy, startHour,<EOL>startMinute, startSecond)<EOL>target = start + datetime.timedelta(days=offset)<EOL>return target.timetuple()<EOL>
Evaluate text passed by L{_partialParseDaystr()}