Module: ArJdbc::DB2::Column::Cast

Defined in:
lib/arjdbc/db2/column.rb

Instance Method Summary collapse

Instance Method Details

#string_to_date(value) ⇒ Object



97
98
99
100
101
# File 'lib/arjdbc/db2/column.rb', line 97

def string_to_date(value)
  return nil unless value = current_date_time_parse(value)

  super
end

#string_to_dummy_time(value) ⇒ Object



111
112
113
114
115
# File 'lib/arjdbc/db2/column.rb', line 111

def string_to_dummy_time(value)
  return nil unless value = current_date_time_parse(value)

  super
end

#string_to_time(value) ⇒ Object



104
105
106
107
108
# File 'lib/arjdbc/db2/column.rb', line 104

def string_to_time(value)
  return nil unless value = current_date_time_parse(value)

  super
end