@Test public void dateFromNullStringIsEmpty() { String date = null; PhenoTipsDate phenoDate = new PhenoTipsDate(date); Assert.assertEquals("{}", phenoDate.toString()); }
@Override public String toString() { return toJSON().toString(); }
PhenoTipsDate { @Override public String toString() { return toJSON().toString(); } }
PhenoTipsDate { @Override public String toString() { return toJSON().toString(); } PhenoTipsDate(Date date);  PhenoTipsDate(JSONObject jsonFuzzyDate);  PhenoTipsDate(String phenoTipsDateString); }
PhenoTipsDate { @Override public String toString() { return toJSON().toString(); } PhenoTipsDate(Date date);  PhenoTipsDate(JSONObject jsonFuzzyDate);  PhenoTipsDate(String phenoTipsDateString); JSONObject toJSON(); Date toEarliestPossibleISODate(); @Override String toString(); String toYYYYMMDDString(); boolean isSet(); }
PhenoTipsDate { @Override public String toString() { return toJSON().toString(); } PhenoTipsDate(Date date);  PhenoTipsDate(JSONObject jsonFuzzyDate);  PhenoTipsDate(String phenoTipsDateString); JSONObject toJSON(); Date toEarliestPossibleISODate(); @Override String toString(); String toYYYYMMDDString(); boolean isSet(); static final String JSON_YEAR_FIELDNAME; static final String JSON_MONTH_FIELDNAME; static final String JSON_DAY_FIELDNAME; static final String JSON_RANGE_FIELDNAME; static final String JSON_RANGE_YEARS; static final Pattern DATE_STRING_REGEXP; }