Пример #1
0
        } // Equals

        // ----------------------------------------------------------------------
        public override int GetHashCode()
        {
            return(HashTool.ComputeHashCode(GetType().GetHashCode(),
                                            calendar,
                                            yearBaseMonth,
                                            firstDayOfWeek,
                                            date1,
                                            date2,
                                            difference));
        } // GetHashCode
Пример #2
0
        } // GetHashCode

        // ----------------------------------------------------------------------
        protected virtual int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(
                       isReadOnly,
                       isIntervalEnabled,
                       startInterval,
                       endInterval,
                       startEdge,
                       endEdge));
        } // ComputeHashCode
Пример #3
0
        } // GetHashCode

        // ----------------------------------------------------------------------
        protected virtual int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(
                       culture,
                       startOffset,
                       endOffset,
                       yearBaseMonth,
                       fiscalYearBaseMonth,
                       fiscalFirstDayOfYear,
                       fiscalYearAlignment,
                       fiscalQuarterGrouping,
                       yearWeekType,
                       dayNameType,
                       monthNameType));
        } // ComputeHashCode
Пример #4
0
        } // HasSameData

        // ----------------------------------------------------------------------
        protected override int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(base.ComputeHashCode(), year, startWeek, weekCount));
        } // ComputeHashCode
Пример #5
0
        } // HasSameData

        // ----------------------------------------------------------------------
        protected override int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(base.ComputeHashCode(), startDay, dayCount, endDay));
        } // ComputeHashCode
Пример #6
0
        } // IsEqual

        // ----------------------------------------------------------------------
        protected override int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(base.ComputeHashCode(), calendar));
        } // ComputeHashCode
Пример #7
0
        } // HasSameData

        // ----------------------------------------------------------------------
        protected override int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(base.ComputeHashCode(), startYear, startMonth, monthCount, endYear, endMonth));
        } // ComputeHashCode
Пример #8
0
        } // GetHashCode

        // ----------------------------------------------------------------------
        protected virtual int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(periods));
        } // ComputeHashCode
Пример #9
0
        } // HasSameData

        // ----------------------------------------------------------------------
        public sealed override int GetHashCode()
        {
            return(HashTool.AddHashCode(GetType().GetHashCode(), ComputeHashCode()));
        } // GetHashCode
Пример #10
0
        } // Equals

        // ----------------------------------------------------------------------
        public override int GetHashCode()
        {
            return(HashTool.ComputeHashCode(GetType().GetHashCode(), duration));
        } // GetHashCode
Пример #11
0
        } // GetHashCode

        // ----------------------------------------------------------------------
        protected virtual int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(isReadOnly, start, end, duration));
        } // ComputeHashCode
Пример #12
0
        } // HasSameData

        // ----------------------------------------------------------------------
        protected override int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(base.ComputeHashCode(), startYear, startHalfyear, halfyearCount, endYear, endHalfyear));
        } // ComputeHashCode
Пример #13
0
        } // HasSameData

        // ----------------------------------------------------------------------
        protected override int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(base.ComputeHashCode(), startHour, hourCount, endHour));
        } // ComputeHashCode
Пример #14
0
        } // HasSameData

        // ----------------------------------------------------------------------
        protected override int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(base.ComputeHashCode(), startMinute, minuteCount, endMinute));
        } // ComputeHashCode
Пример #15
0
        } // HasSameData

        // ----------------------------------------------------------------------
        protected override int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(base.ComputeHashCode(), startYear, startQuarter, quarterCount, endYear, endQuarter));
        } // ComputeHashCode