def METHOD_NAME(self, row):
    if self.time_field_format is not None:
        time_field_value = datetime.strptime(row[self.time_field], self.time_field_format)
    elif self.timestamp:
        fractional, timestamp = modf(float(row[self.time_field]))
        time_field_value = datetime.utcfromtimestamp(int(timestamp))
        time_field_value += timedelta(microseconds=fractional * 1E6)
    else:
        time_field_value = row[self.time_field]
        if not isinstance(time_field_value, datetime):
            time_field_value = parse(time_field_value, ignoretz=True)
    return time_field_value