RiCal::CoreExtensions::Time::TzidAccess

 Provides a tzid attribute for ::Time and ::DateTime

Attributes

tzid[RW]

The tzid attribute is used by RiCal, it should be a valid timezone identifier within a calendar, :floating to indicate a floating time, or nil to use the default timezone in effect

See PropertyValue::DateTime#default_tzid= and Component::Calendar#tzid=

Public Instance Methods

has_floating_timezone?() click to toggle source

Predicate indicating whether or not the instance represents a floating time

# File lib/ri_cal/core_extensions/time/tzid_access.rb, line 22
        def has_floating_timezone?
          tzid == :floating
        end
set_tzid(time_zone_identifier) click to toggle source

Convenience method, sets the tzid and returns the receiver

# File lib/ri_cal/core_extensions/time/tzid_access.rb, line 16
        def set_tzid(time_zone_identifier)
          self.tzid = time_zone_identifier
          self
        end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.