RiCal::Component::TZInfoTimezone

 A wrapper class for a Timezone implemented by the TZInfo Gem
 (or by Rails)

Public Instance Methods

identifier() click to toggle source

return the time zone identifier

# File lib/ri_cal/component/t_z_info_timezone.rb, line 110
  def identifier
    @tzinfo_timezone.identifier
  end
local_to_utc(time) click to toggle source

convert time from this time zone to utc time

# File lib/ri_cal/component/t_z_info_timezone.rb, line 100
  def local_to_utc(time)
    @tzinfo_timezone.local_to_utc(time.to_ri_cal_ruby_value)
  end
utc_to_local(time) click to toggle source

convert time from utc time to this time zone

# File lib/ri_cal/component/t_z_info_timezone.rb, line 105
  def utc_to_local(time)
    @tzinfo_timezone.utc_to_local(time.to_ri_cal_ruby_value)
  end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.