build/ical.js
function convertToZone(zone) {
      var copy = this.clone();
      var zone_equals = (this.zone.tzid == zone.tzid);

      if (!this.isDate && !zone_equals) {
        ICAL.Timezone.convert_time(copy, this.zone, zone);
      }

      copy.zone = zone;
      return copy;
    }
function convertToZone(zone) {
      var copy = this.clone();
      var zone_equals = (this.zone.tzid == zone.tzid);

      if (!this.isDate && !zone_equals) {
        ICAL.Timezone.convert_time(copy, this.zone, zone);
      }

      copy.zone = zone;
      return copy;
    }
function convertToZone ( zone ) { var copy = this . clone ( ) ; var zone_equals = ( this . zone . tzid == zone . tzid ) ; if ( ! this . isDate && ! zone_equals ) { ICAL . Timezone . convert_time ( copy , this . zone , zone ) ; } copy . zone = zone ; return copy ; }
Convert the instance into another timzone. The returned ICAL.Time
instance is always a copy.

@param {ICAL.Timezone} zone      The zone to convert to
@return {ICAL.Time}              The copy, converted to the zone
Convert the instance into another timzone . The returned ICAL . Time instance is always a copy .