def wrap_java_date_property(property)
      ra, wa = property.accessors
      jra, jwa = property.java_accessors
      
      # filter the attribute reader
      define_method(ra) do
        value = send(jra)
        Java::JavaUtil::Date === value ? value.to_ruby_date : value
      end
      
      # filter the attribute writer
      define_method(wa) do |value|
        value = Java::JavaUtil::Date.from_ruby_date(value) if ::Date === value
        send(jwa, value)
      end

      logger.debug { "Filtered #{qp} #{ra} and #{wa} methods with Java Date <-> Ruby Date converter." }
    end
def wrap_java_date_property(property)
      ra, wa = property.accessors
      jra, jwa = property.java_accessors
      
      # filter the attribute reader
      define_method(ra) do
        value = send(jra)
        Java::JavaUtil::Date === value ? value.to_ruby_date : value
      end
      
      # filter the attribute writer
      define_method(wa) do |value|
        value = Java::JavaUtil::Date.from_ruby_date(value) if ::Date === value
        send(jwa, value)
      end

      logger.debug { "Filtered #{qp} #{ra} and #{wa} methods with Java Date <-> Ruby Date converter." }
    end
Adds a Java-Ruby Date filter to the given Date property Ruby access methods.
 The reader returns a Ruby date. The writer sets a Java date.