# File lib/aws/record/attributes.rb, line 272
        def self.type_cast raw_value, options = {}
          case raw_value
          when nil      then nil
          when ''       then nil
          when Date     then raw_value
          when Integer  then 
            begin
              Date.parse(Time.at(raw_value).to_s) # assumed timestamp
            rescue
              nil
            end
          else 
            begin
              Date.parse(raw_value.to_s) # Time, DateTime or String
            rescue
              nil
            end
          end
        end