build/ical.js
function fromUnixTime(seconds) {
      this.zone = ICAL.Timezone.utcTimezone;
      var epoch = ICAL.Time.epochTime.clone();
      epoch.adjust(0, 0, 0, seconds);

      this.year = epoch.year;
      this.month = epoch.month;
      this.day = epoch.day;
      this.hour = epoch.hour;
      this.minute = epoch.minute;
      this.second = Math.floor(epoch.second);

      this._cachedUnixTime = null;
    }
function fromUnixTime(seconds) {
      this.zone = ICAL.Timezone.utcTimezone;
      var epoch = ICAL.Time.epochTime.clone();
      epoch.adjust(0, 0, 0, seconds);

      this.year = epoch.year;
      this.month = epoch.month;
      this.day = epoch.day;
      this.hour = epoch.hour;
      this.minute = epoch.minute;
      this.second = Math.floor(epoch.second);

      this._cachedUnixTime = null;
    }
function fromUnixTime ( seconds ) { this . zone = ICAL . Timezone . utcTimezone ; var epoch = ICAL . Time . epochTime . clone ( ) ; epoch . adjust ( 0 , 0 , 0 , seconds ) ; this . year = epoch . year ; this . month = epoch . month ; this . day = epoch . day ; this . hour = epoch . hour ; this . minute = epoch . minute ; this . second = Math . floor ( epoch . second ) ; this . _cachedUnixTime = null ; }
Sets up the current instance from unix time, the number of seconds since
January 1st, 1970.

@param {Number} seconds      The seconds to set up with
Sets up the current instance from unix time the number of seconds since January 1st 1970 .