/// <summary>
        /// Returns true if ActivityStats instances are equal
        /// </summary>
        /// <param name="other">Instance of ActivityStats to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ActivityStats other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     BiggestRideDistance == other.BiggestRideDistance ||
                     BiggestRideDistance != null &&
                     BiggestRideDistance.Equals(other.BiggestRideDistance)
                     ) &&
                 (
                     BiggestClimbElevationGain == other.BiggestClimbElevationGain ||
                     BiggestClimbElevationGain != null &&
                     BiggestClimbElevationGain.Equals(other.BiggestClimbElevationGain)
                 ) &&
                 (
                     RecentRideTotals == other.RecentRideTotals ||
                     RecentRideTotals != null &&
                     RecentRideTotals.Equals(other.RecentRideTotals)
                 ) &&
                 (
                     RecentRunTotals == other.RecentRunTotals ||
                     RecentRunTotals != null &&
                     RecentRunTotals.Equals(other.RecentRunTotals)
                 ) &&
                 (
                     RecentSwimTotals == other.RecentSwimTotals ||
                     RecentSwimTotals != null &&
                     RecentSwimTotals.Equals(other.RecentSwimTotals)
                 ) &&
                 (
                     YtdRideTotals == other.YtdRideTotals ||
                     YtdRideTotals != null &&
                     YtdRideTotals.Equals(other.YtdRideTotals)
                 ) &&
                 (
                     YtdRunTotals == other.YtdRunTotals ||
                     YtdRunTotals != null &&
                     YtdRunTotals.Equals(other.YtdRunTotals)
                 ) &&
                 (
                     YtdSwimTotals == other.YtdSwimTotals ||
                     YtdSwimTotals != null &&
                     YtdSwimTotals.Equals(other.YtdSwimTotals)
                 ) &&
                 (
                     AllRideTotals == other.AllRideTotals ||
                     AllRideTotals != null &&
                     AllRideTotals.Equals(other.AllRideTotals)
                 ) &&
                 (
                     AllRunTotals == other.AllRunTotals ||
                     AllRunTotals != null &&
                     AllRunTotals.Equals(other.AllRunTotals)
                 ) &&
                 (
                     AllSwimTotals == other.AllSwimTotals ||
                     AllSwimTotals != null &&
                     AllSwimTotals.Equals(other.AllSwimTotals)
                 ));
        }