lib/edtf/date.rb
def change(options)
    d = original_change(options)
    EXTENDED_ATTRIBUTES.each do |attribute|
      d.send("#{attribute}=", options[attribute] || send(attribute))
    end
    d
  end
# Returns a new Date where one or more of the elements have been changed according to the +options+ parameter.
Returns a new Date where one or more of the elements have been changed according to the +options+ parameter.
Returns a new Date where one or more of the elements have been changed according to the + options + parameter .
def change(options)
    d = original_change(options)
    EXTENDED_ATTRIBUTES.each do |attribute|
      d.send("#{attribute}=", options[attribute] || send(attribute))
    end
    d
  end
def change ( options ) d = original_change ( options ) EXTENDED_ATTRIBUTES . each do | attribute | d . send ( "#{attribute}=" , options [ attribute ] || send ( attribute ) ) end d end
Returns a new Date where one or more of the elements have been changed according to the +options+ parameter.
Returns a new Date where one or more of the elements have been changed according to the + options + parameter .
options