method

xmlschema

v2_4_6 - Show latest stable - Class: Time
xmlschema(date)
public

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

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

See #xmlschema for more information on this format.

You must require ‘time’ to use this method.