Sha256: ee83ad365727cb8b252c38e81fec621f7ab12812e89bcc5a6a9d497c8fa58340
Contents?: true
Size: 747 Bytes
Versions: 1
Compression:
Stored size: 747 Bytes
Contents
require 'date' module RiCal class PropertyValue # RiCal::PropertyValue::CalAddress represents an icalendar CalAddress property value # which is defined in RFC 2445 section 4.3.5 pp 35-37 class ZuluDateTime < PropertyValue::DateTime def tzid "UTC" end def value=(val) # :nodoc: if DateTime === val @date_time_value = val else super(val) end @date_time_value = @date_time_value.utc if @date_time_value end def to_ri_cal_zulu_date_time self end def self.convert(timezone_finder, ruby_object) # :nodoc: result = super result.to_ri_cal_zulu_date_time end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
friflaj_ri_cal-0.9.0 | lib/ri_cal/property_value/zulu_date_time.rb |