Parent

Methods

Class/Module Index [+]

Quicksearch

DateTime

Ruby 1.9.1 has it, but not 1.8.x, so adding it...

Public Instance Methods

to_time() click to toggle source
# File lib/ruote/util/time.rb, line 33
def to_time
  new_offset(0).instance_eval {
    Time.utc(year, mon, mday, hour, min, sec + sec_fraction)
  }.getlocal
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.