Sha256: ef825e3590c4df54c36152e40d970ed86b6cad6f155e945ae8b2f2b7582f61f6

Contents?: true

Size: 375 Bytes

Versions: 6

Compression:

Stored size: 375 Bytes

Contents

require 'jactive_support/core_ext/to_java_date'
class Date
  def to_java_sqldate
    to_java_date.to_java_sqldate
  end
end
class Time
  def to_java_sqldate
    to_java_date.to_java_sqldate
  end
end
class ActiveSupport::TimeWithZone
  def to_java_sqldate
    to_java_date.to_java_sqldate
  end
end
class String
  def to_java_sqldate
    to_datetime.to_java_sqldate
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jactive_support-2.1.2 lib/jactive_support/core_ext/to_java_sqldate.rb
jactive_support-3.0.0 lib/jactive_support/core_ext/to_java_sqldate.rb
jactive_support-3.0.0.pre2 lib/jactive_support/core_ext/to_java_sqldate.rb
jactive_support-3.0.0.pre1 lib/jactive_support/core_ext/to_java_sqldate.rb
jactive_support-2.1.1 lib/jactive_support/core_ext/to_java_sqldate.rb
jactive_support-2.1.0 lib/jactive_support/core_ext/to_java_sqldate.rb