class PostgreSQLDateBinaryProtocolValue implements PostgreSQLBinaryProtocolValue {

    @Override
    public void write(final PostgreSQLPacketPayload payload, final Object value) {
        payload.writeInt8(((Timestamp) value).getTime());
    }

}