ads_common/lib/ads_common/parameters_validator.rb
def time_to_xml_hash(time)
      return {
          :hour => time.hour, :minute => time.min, :second => time.sec,
          :date => {:year => time.year, :month => time.month, :day => time.day}
      }
    end
def time_to_xml_hash(time)
      return {
          :hour => time.hour, :minute => time.min, :second => time.sec,
          :date => {:year => time.year, :month => time.month, :day => time.day}
      }
    end
def time_to_xml_hash ( time ) return { :hour => time . hour , :minute => time . min , :second => time . sec , :date => { :year => time . year , :month => time . month , :day => time . day } } end
Converts Time to a hash for XML marshalling.
Converts Time to a hash for XML marshalling .