method
new_offset
new_offset(of=0)
public
Hide source
# File lib/date.rb, line 1318 def new_offset(of=0) if String === of of = Rational(zone_to_diff(of) || 0, 86400) end self.class.new!(@ajd, of, @sg) end