Module RiCal::PropertyValue::DateTime::TimezoneSupport
In: lib/ri_cal/property_value/date_time/timezone_support.rb
  • ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
 Time zone related methods for DateTime

Methods

Public Instance methods

Predicate indicating whether or not the instance represents a floating time

Determine if the receiver has a local time zone, i.e. it is not a floating time or a UTC time

Returns the simultaneous time in the specified zone.

Return the timezone id of the receiver, or nil if it is a floating time

Returns a instance that represents the time in UTC.

Predicate indicating whether or not the instance represents a ZULU time

Return the receiver if it has a floating time zone already, otherwise return a DATETIME property with the same time as the receiver but with a floating time zone

[Validate]