# File lib/microformat/time.rb, line 6 def self.iso8601(a_string) raise ArgumentError unless a_string =~ ISO8601_REGEX Time.xmlschema(a_string) rescue Time.parse(a_string) end