class RubyXL::Cell
def is_date?
def is_date? return false unless raw_value =~ /\A\d+(?:\.\d+)?\Z/ # Only fully numeric values can be dates num_fmt = self.number_format num_fmt && num_fmt.is_date_format? end
def is_date? return false unless raw_value =~ /\A\d+(?:\.\d+)?\Z/ # Only fully numeric values can be dates num_fmt = self.number_format num_fmt && num_fmt.is_date_format? end