Lines Matching refs:date_time
317 def append(self, mailbox, flags, date_time, message): argument
332 if date_time:
333 date_time = Time2Internaldate(date_time)
335 date_time = None
337 return self._simple_command(name, mailbox, flags, date_time)
1400 def Time2Internaldate(date_time): argument
1412 if isinstance(date_time, (int, float)):
1413 tt = time.localtime(date_time)
1414 elif isinstance(date_time, (tuple, time.struct_time)):
1415 tt = date_time
1416 elif isinstance(date_time, str) and (date_time[0],date_time[-1]) == ('"','"'):
1417 return date_time # Assume in correct format