class Aws::Xml::Parser::TimestampFrame
def parse(value)
def parse(value) case value when nil then nil when /^\d+$/ then Time.at(value.to_i) else begin Time.parse(value).utc rescue ArgumentError raise "unhandled timestamp format `#{value}'" end end end
def result
def result @text.empty? ? nil : parse(@text.join) end