Sha256: 9f2ae350cf84b8c0f3891f1ca4b6ae4adb270c104218a09b3e542548e58e02a1

Contents?: true

Size: 218 Bytes

Versions: 3

Compression:

Stored size: 218 Bytes

Contents

require 'jactive_support/java_ext/to_java_time_zone'

class String
  def to_java_time_zone
    java::util::TimeZone.getTimeZone(self)
  end
end

class Symbol
  def to_java_time_zone
    to_s.to_java_time_zone
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jactive_support-3.0.0 lib/jactive_support/core_ext/to_java_time_zone.rb
jactive_support-3.0.0.pre2 lib/jactive_support/core_ext/to_java_time_zone.rb
jactive_support-3.0.0.pre1 lib/jactive_support/core_ext/to_java_time_zone.rb