Project

General

Profile

Revision 4d7ec88e

ID4d7ec88ed3ecc755b61b4256d488ea5b5a6bd588
Parent 9091311f
Child eb754e1b

Added by Katja Luther about 3 years ago

minor

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/DnaQualityDetailElement.java
8 8
*/
9 9
package eu.etaxonomy.taxeditor.ui.section.occurrence.dna;
10 10

  
11
import java.time.ZonedDateTime;
12

  
11 13
import org.joda.time.DateTime;
12 14

  
13 15
import eu.etaxonomy.cdm.model.common.OrderedTerm;
......
69 71
        numberRatioOfAbsorbance260_230 = formFactory.createNumberTextWithLabelElement(formElement, "Ratio of absorbance 260-230", ratioOfAbsorbance260_230, style);
70 72
        numberConcentration = formFactory.createNumberTextWithLabelElement(formElement, "Concentration", concentration, style);
71 73
        comboQualityTerm = formFactory.createDefinedTermComboElement(TermType.DnaQualityType, formElement, "Quality Term", qualityTerm, style);
72
        dateQualityCheck = formFactory.createDateElement(formElement, "Quality Check", DateConverter.convertJoda2ZonedDateTime(dnaQuality.getQualityCheckDate()), style, false);
74
        ZonedDateTime qualityCheckedDate = null;
75
        if (dnaQuality.getQualityCheckDate() != null){
76
        	qualityCheckedDate = DateConverter.convertJoda2ZonedDateTime(dnaQuality.getQualityCheckDate());
77
        }
78
        dateQualityCheck = formFactory.createDateElement(formElement, "Quality Check", qualityCheckedDate, style, false);
73 79
    }
74 80

  
75 81
    /*

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)