static public Method

DateTime.new(*args)

There's no documentation for this item.

Source Code

# File qt/qtruby4.rb, line 399
def initialize(*args)
        if args.size == 1 && args[0].class.name == "DateTime"
                return super(       Qt::Date.new(args[0].year, args[0].month, args[0].day), 
                                                Qt::Time.new(args[0].hour, args[0].min, args[0].sec) )
        else
                return super(*args)
        end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.