Parent

Date

Date code pulled from: Ruby Cookbook by Lucas Carlson and Leonard Richardson Published by O'Reilly ISBN: 0-596-52369-6

Public Instance Methods

feed_utils_to_gm_time() click to toggle source
# File lib/core_ext/date.rb, line 6
def feed_utils_to_gm_time
  feed_utils_to_time(new_offset, :gm)
end
feed_utils_to_local_time() click to toggle source
# File lib/core_ext/date.rb, line 10
def feed_utils_to_local_time
  feed_utils_to_time(new_offset(DateTime.now.offset-offset), :local)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.