docs: def create_entry(self, group = None, title = "", image = 1, url = "",
                       username = "", password = "", comment = "",
                       y = 2999, mon = 12, d = 28, h = 23, min_ = 59,
                       s = 59):
          """This method creates a new entry.
          
          The group which should hold the entry is needed.
  
          image must be an unsigned int >0, group a v1Group.
          
          It is possible to give an expire date in the following way:
              - y is the year between 1 and 9999 inclusive
              - mon is the month between 1 and 12
              - d is a day in the given month
              - h is a hour between 0 and 23
              - min_ is a minute between 0 and 59
              - s is a second between 0 and 59
  
          The special date 2999-12-28 23:59:59 means that entry expires never.
          
          """
          
          if (type(title) is not str or
              type(image) is not int or image < 0 or
              type(url) is not str or
              type(username) is not str or
              type(password) is not str or
              type(comment) is not str or
              type(y) is not int or
              type(mon) is not int or
              type(d) is not int or
              type(h) is not int or
              type(min_) is not int
              or type(s) is not int or
              type(group) is not v1Group):
              raise KPError("One argument has not a valid type.")
          elif group not in self.groups:
              raise KPError("Group doesn't exist.")
          elif (y > 9999 or y < 1 or mon > 12 or mon < 1 or d > 31 or d < 1 or
                h > 23 or h < 0 or min_ > 59 or min_ < 0 or s > 59 or s < 0):
              raise KPError("No legal date")
          elif (((mon == 1 or mon == 3 or mon == 5 or mon == 7 or mon == 8 or
                  mon == 10 or mon == 12) and d > 31) or
                 ((mon == 4 or mon == 6 or mon == 9 or mon == 11) and d > 30) or
                 (mon == 2 and d > 28)):
              raise KPError("Given day doesn't exist in given month")
  
          Random.atfork()
          uuid = Random.get_random_bytes(16)
          entry = v1Entry(group.id_, group, image, title, url, username,
                           password, comment, 
                           datetime.now().replace(microsecond = 0),
                           datetime.now().replace(microsecond = 0),
                           datetime.now().replace(microsecond = 0),
                           datetime(y, mon, d, h, min_, s),
                           uuid)
          self.entries.append(entry)
          group.entries.append(entry)
          self._num_entries += 1
          return True