# File lib/xsd/datatypes.rb, line 855 855: def _to_s 856: s = format('%02d', @data.mday) 857: add_tz(s) 858: end
# File lib/xsd/datatypes.rb, line 845 845: def screen_data_str(t) 846: /^(\d\d)(Z|(?:[+\-]\d\d:\d\d)?)?$/ =~ t.to_s.strip 847: unless Regexp.last_match 848: raise ValueSpaceError.new("#{ type }: cannot accept '#{ t }'.") 849: end 850: mday = $1.to_i 851: zonestr = $2 852: DateTime.civil(1, 1, mday, 0, 0, 0, tz2of(zonestr)) 853: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.