Flowdock
xmlschema(date) public

Parses date as dateTime defined by XML Schema and converts it to a Time object. The format is restricted version of the format defined by ISO 8601.

ArgumentError is raised if date is not compliant with the format or Time class cannot represent specified date.

See #xmlschema for more information on this format.

time library should be required to use this method as follows.

require 'time'
Show source
Register or log in to add new notes.