@Test public void testGetDefaultValue() { System.out.println("getDefaultValue"); assertNull(new TimeField().getDefaultValue()); assertNull(new TimeField(true).getDefaultValue()); assertNull(new TimeField(null).getDefaultValue()); assertEquals(new Time(0), new TimeField(new Time(0)).getDefaultValue()); assertEquals(new Time(-1), new TimeField(new Time(-1)).getDefaultValue()); assertEquals(new Time(0), new TimeField(true, new Time(0)).getDefaultValue()); assertEquals(new Time(-1), new TimeField(true, new Time(-1)).getDefaultValue()); }
@Override public Time getDefaultValue() { return defaultValue; }
TimeField implements FieldType<Time> { @Override public Time getDefaultValue() { return defaultValue; } }
TimeField implements FieldType<Time> { @Override public Time getDefaultValue() { return defaultValue; } TimeField();  TimeField(final Time defaultValue);  TimeField(final boolean withTimeZone);  TimeField(final boolean withTimeZone, final Time defaultValue); }
TimeField implements FieldType<Time> { @Override public Time getDefaultValue() { return defaultValue; } TimeField();  TimeField(final Time defaultValue);  TimeField(final boolean withTimeZone);  TimeField(final boolean withTimeZone, final Time defaultValue); @Override Types getType(); boolean isWithTimeZone(); @Override Time getDefaultValue(); @Override boolean hasDefaultValue(); @Override Time convert(Object objValue); @Override JSONObject toJson(); }
TimeField implements FieldType<Time> { @Override public Time getDefaultValue() { return defaultValue; } TimeField();  TimeField(final Time defaultValue);  TimeField(final boolean withTimeZone);  TimeField(final boolean withTimeZone, final Time defaultValue); @Override Types getType(); boolean isWithTimeZone(); @Override Time getDefaultValue(); @Override boolean hasDefaultValue(); @Override Time convert(Object objValue); @Override JSONObject toJson();  }