lib/roo/excel.rb
# Test the cell to see if it's a valid date/time.
Test the cell to see if it's a valid date/time.
Test the cell to see if it ' s a valid date / time .
def date_or_time?(row, idx)
    format = row.format(idx)
    if format.date_or_time?
      cell = read_cell_content(row, idx)
      true if Float(cell) > 0 rescue false
    else
      false
    end
  end
def date_or_time? ( row , idx ) format = row . format ( idx ) if format . date_or_time? cell = read_cell_content ( row , idx ) true if Float ( cell ) > 0 rescue false else false end end
Test the cell to see if it's a valid date/time.
Test the cell to see if it ' s a valid date / time .
row
idx