@property<EOL><INDENT>def timestamp_normalized(self):<DEDENT>
if not self.timestamp:<EOL><INDENT>return None<EOL><DEDENT>if isinstance(self.timestamp, six.integer_types):<EOL><INDENT>return self.timestamp<EOL><DEDENT>if isinstance(self.timestamp, timedelta):<EOL><INDENT>tmp = datetime.now() + self.timestamp<EOL><DEDENT>else:<EOL><INDENT>tmp = self.timestamp<EOL><DEDENT>return int(time.mktime(tmp.timetuple()) * <NUM_LIT> + tmp.microsecond)<EOL>
we're expecting self.timestamp to be either a long, int, a datetime, or a timedelta
:return: