code: public Attribute createFamilyEvent(final Family family, final String type,
              final String dateString) {
          if (family == null || type == null || dateString == null) {
              return gedObjectBuilder.createAttribute();
          }
          final Attribute event = gedObjectBuilder.createAttribute(family, type);
          event.insert(new Date(event, dateString));
          return event;
      }
docs: Create a dated event.
  
  @param family the family the event is for
  @param type the type of event
  @param dateString the date of the event
  @return the created event