# File lib/xsd/datatypes.rb, line 881 881: def _to_s 882: s = format('%02d', @data.mon) 883: add_tz(s) 884: end
# File lib/xsd/datatypes.rb, line 871 871: def screen_data_str(t) 872: /^(\d\d)(Z|(?:[+\-]\d\d:\d\d)?)?$/ =~ t.to_s.strip 873: unless Regexp.last_match 874: raise ValueSpaceError.new("#{ type }: cannot accept '#{ t }'.") 875: end 876: mon = $1.to_i 877: zonestr = $2 878: DateTime.civil(1, mon, 1, 0, 0, 0, tz2of(zonestr)) 879: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.