class DBI::DBD::OCI8::BindType::DBIDate

helper class to define/bind DBI::Date.

def get()

def get()
  # get an Oradate from the bind handle,
  # then convert it to a DBI::Date.
  val = super()
  return nil if val.nil?
  DBI::Date.new(val.year, val.month, val.day)
end

def set(val)

def set(val)
  # convert val to an OraDate,
  # then set it to the bind handle.
  super(val && OraDate.new(val.year, val.month, val.day))
end