Sha256: f4dafc89edec83246bad81f77e924bad41664e50d26cdcc5a20ca5a1f305b305

Contents?: true

Size: 213 Bytes

Versions: 25

Compression:

Stored size: 213 Bytes

Contents

require 'date'

class Date
  def proxy_object
    java.util.Date.new year, month - 1, day, 0, 0, 0
  end
end

class DateTime
  def proxy_object
    java.util.Date.new year, month - 1, day, hour, min, sec
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
orientdb-1.7.8-java lib/orientdb/ext.rb
orientdb-1.6.3-java lib/orientdb/ext.rb
orientdb-1.5.0-java lib/orientdb/ext.rb
orientdb-1.3.0-java lib/orientdb/ext.rb
orientdb-1.2.0-java lib/orientdb/ext.rb
orientdb-1.2.0 lib/orientdb/ext.rb
orientdb-0.0.25-jruby lib/orientdb/ext.rb
orientdb-0.0.24-jruby lib/orientdb/ext.rb
orientdb-0.0.23-jruby lib/orientdb/ext.rb
orientdb-0.0.22-jruby lib/orientdb/ext.rb
orientdb-0.0.21-jruby lib/orientdb/ext.rb
orientdb-0.0.20-jruby lib/orientdb/ext.rb
orientdb-0.0.19-jruby lib/orientdb/ext.rb
orientdb-0.0.17-jruby lib/orientdb/ext.rb
orientdb-0.0.16-jruby lib/orientdb/ext.rb
orientdb-0.0.15-jruby lib/orientdb/ext.rb
orientdb-0.0.14-jruby lib/orientdb/ext.rb
orientdb-0.0.12-jruby lib/orientdb/ext.rb
orientdb-0.0.11-jruby lib/orientdb/ext.rb
orientdb-0.0.10-jruby lib/orientdb/ext.rb