public int hashCode()
        {
            final int prime = 31;
            int result = 1;
            result = prime * result + id;
            result = prime * result + ((name == null) ? 0 : name.hashCode());
            result = prime * result
                    + ((timestamp == null) ? 0 : timestamp.hashCode());
            return result;
        }
Test ser/deser of Date object.

@author David Yu
@created Nov 1, 2010
protostuff-runtime/src/test/java/io/protostuff/runtime/DateTest.java