@Test public void testGetDefaultValue() { System.out.println("getDefaultValue"); DateField instance = new DateField(); assertEquals(null, instance.getDefaultValue()); instance = new DateField(new Date(0)); assertEquals(new Date(0).toString(), instance.getDefaultValue().toString()); }
@Override public Date getDefaultValue() { return defaultValue; }
DateField implements FieldType<Date> { @Override public Date getDefaultValue() { return defaultValue; } }
DateField implements FieldType<Date> { @Override public Date getDefaultValue() { return defaultValue; } DateField();  DateField(final Date defaultValue); }
DateField implements FieldType<Date> { @Override public Date getDefaultValue() { return defaultValue; } DateField();  DateField(final Date defaultValue); @Override Types getType(); @Override Date getDefaultValue(); @Override boolean hasDefaultValue(); @Override Date convert(Object objValue); @Override JSONObject toJson(); }
DateField implements FieldType<Date> { @Override public Date getDefaultValue() { return defaultValue; } DateField();  DateField(final Date defaultValue); @Override Types getType(); @Override Date getDefaultValue(); @Override boolean hasDefaultValue(); @Override Date convert(Object objValue); @Override JSONObject toJson();  }