APISonar


org.nakedobjects.application.value.Date.Date

> org > nakedobjects > application > value > Date > Date
org APIs nakedobjects APIs application APIs value APIs Date APIs Date APIs

Example 1
public void test() {
        TestValueExample parent = new TestValueExample();
        parent.setContext(context);
        ValueFieldSpecification fld = (ValueFieldSpecification) parent.getSpecification().getFields()[0]; 
        TestValue value = new TestValueImpl(parent, fld);
        value.fieldEntry("+2");
        
        assertEquals(new Date(2003,8,19), parent.getDate());
    }