Project

General

Profile

Revision 46809662

ID46809662fafbfc049aac039cd0f0a087f32808a4
Parent 8de7ec9f
Child 2ba9931c

Added by Katja Luther 12 months ago

fix abcd import when gathering date of associated unit is null

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/specimen/UnitsGatheringEvent.java
187 187
    }
188 188

  
189 189
    public void setDate(String date){
190
        TimePeriod timeperiod = this.gatheringEvent.getTimeperiod();
191
        if(timeperiod==null){
192
            timeperiod = TimePeriod.NewInstance();
193
            this.gatheringEvent.setTimeperiod(timeperiod);
194
        }else{
195 190
            this.gatheringEvent.setTimeperiod(TimePeriodParser.parseString(date));
196
        }
197 191

  
198 192
    }
199 193

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)