docs: def init_from_str(self, entries):
          """
          Initialize the structured and textual data based on a string
          representing the entries. For detailed information about the format of
          this string, refer to the
          :func:`~taxi.timesheet.parser.parse_text` function.
          """
          self.lines = self.parser.parse_text(entries)
  
          for line in self.lines:
              if isinstance(line, DateLine):
                  current_date = line.date
                  self[current_date] = self.default_factory(self, line.date)
              elif isinstance(line, Entry):
                  if len(self[current_date]) > 0:
                      line.previous_entry = self[current_date][-1]
                      self[current_date][-1].next_entry = line
  
                  self[current_date].append(line)