# File lib/dbi/utils/timestamp.rb, line 71
71:       def to_s
72:          string = sprintf("%04d-%02d-%02d %02d:%02d:%02d",
73:              @year, @month, @day, @hour, @minute, @second) 
74: 
75:          if @fraction
76:             fraction = ("%.9f" % (@fraction.to_i / 1e9)).
77:                         to_s[1..-1].gsub(/0{1,8}$/, "")
78:             string += fraction
79:          end
80: 
81:          string
82:       end