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 ; }
Create a dated event .