build/ical.js
function icaltime_compare(other) {
      var a = this.toUnixTime();
      var b = other.toUnixTime();

      if (a > b) return 1;
      if (b > a) return -1;
      return 0;
    }
function icaltime_compare(other) {
      var a = this.toUnixTime();
      var b = other.toUnixTime();

      if (a > b) return 1;
      if (b > a) return -1;
      return 0;
    }
function icaltime_compare ( other ) { var a = this . toUnixTime ( ) ; var b = other . toUnixTime ( ) ; if ( a > b ) return 1 ; if ( b > a ) return - 1 ; return 0 ; }
Compares the ICAL.Time instance with another one.

@param {ICAL.Duration} aOther        The instance to compare with
@return {Number}                     -1, 0 or 1 for less/equal/greater
Compares the ICAL . Time instance with another one .