# File lib/xsd/datatypes.rb, line 829 829: def _to_s 830: s = format('%02d-%02d', @data.mon, @data.mday) 831: add_tz(s) 832: end
# File lib/xsd/datatypes.rb, line 818 818: def screen_data_str(t) 819: /^(\d\d)-(\d\d)(Z|(?:[+\-]\d\d:\d\d)?)?$/ =~ t.to_s.strip 820: unless Regexp.last_match 821: raise ValueSpaceError.new("#{ type }: cannot accept '#{ t }'.") 822: end 823: mon = $1.to_i 824: mday = $2.to_i 825: zonestr = $3 826: DateTime.civil(1, mon, mday, 0, 0, 0, tz2of(zonestr)) 827: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.