public Method

TimeZone.period_for_local(time, dst=true)

Available so that TimeZone instances respond like TZInfo::Timezone instances

Source Code

# File active_support/values/time_zone.rb, line 215
def period_for_local(time, dst=true)
  tzinfo.period_for_local(time, dst)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.