Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2.0.3) is shown here.
adjust(time)
public
Adjust the given time to the time zone represented by self.
Show source
def adjust(time)
time = time.to_time unless time.is_a?(::Time)
time + utc_offset - time.utc_offset
end