ComputeHashCode() public static method

public static ComputeHashCode ( ) : int
return int
        }         // GetHashCode

        // ----------------------------------------------------------------------
        protected virtual int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(
                       isReadOnly,
                       isIntervalEnabled,
                       startInterval,
                       endInterval,
                       startEdge,
                       endEdge));
        }         // ComputeHashCode
Esempio n. 2
0
        }         // Equals

        // ----------------------------------------------------------------------
        public override int GetHashCode()
        {
            return(HashTool.ComputeHashCode(GetType().GetHashCode(),
                                            calendar,
                                            yearBaseMonth,
                                            firstDayOfWeek,
                                            date1,
                                            date2,
                                            difference));
        }         // GetHashCode
Esempio n. 3
0
        }         // GetHashCode

        // ----------------------------------------------------------------------
        protected virtual int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(
                       culture,
                       startOffset,
                       endOffset,
                       yearBaseMonth,
                       yearWeekType,
                       dayNameType,
                       monthNameType));
        }         // ComputeHashCode
Esempio n. 4
0
        }         // GetHashCode

        // ----------------------------------------------------------------------
        protected virtual int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(
                       culture,
                       startOffset,
                       endOffset,
                       yearBaseMonth,
                       fiscalYearBaseMonth,
                       fiscalFirstDayOfYear,
                       fiscalYearAlignment,
                       fiscalQuarterGrouping,
                       yearWeekType,
                       dayNameType,
                       monthNameType));
        }         // ComputeHashCode
Esempio n. 5
0
        } // GetHashCode

        // ----------------------------------------------------------------------
        protected virtual int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(isReadOnly, start, end));
        } // ComputeHashCode
Esempio n. 6
0
        } // HasSameData

        // ----------------------------------------------------------------------
        protected override int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(base.ComputeHashCode(), startYear, startYear, yearCount));
        } // ComputeHashCode
Esempio n. 7
0
        }         // HasSameData

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

        // ----------------------------------------------------------------------
        protected override int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(base.ComputeHashCode(), startYear, startHalfyear, halfyearCount, endYear, endHalfyear));
        }         // ComputeHashCode
Esempio n. 9
0
        }         // Equals

        // ----------------------------------------------------------------------
        public override int GetHashCode()
        {
            return(HashTool.ComputeHashCode(GetType().GetHashCode(), date));
        }         // GetHashCode
Esempio n. 10
0
        }         // GetHashCode

        // ----------------------------------------------------------------------
        protected virtual int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(periods));
        }         // ComputeHashCode
        } // IsEqual

        // ----------------------------------------------------------------------
        protected override int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(base.ComputeHashCode(), calendar));
        } // ComputeHashCode
        } // HasSameData

        // ----------------------------------------------------------------------
        protected override int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(base.ComputeHashCode(), startYear, startMonth, monthCount, endYear, endMonth));
        } // ComputeHashCode
Esempio n. 13
0
        } // HasSameData

        // ----------------------------------------------------------------------
        protected override int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(base.ComputeHashCode(), startDay, dayCount, endDay));
        } // ComputeHashCode
Esempio n. 14
0
        }         // HasSameData

        // ----------------------------------------------------------------------
        protected override int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(base.ComputeHashCode(), startMinute, minuteCount, endMinute));
        }         // ComputeHashCode
Esempio n. 15
0
        }         // HasSameData

        // ----------------------------------------------------------------------
        protected override int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(base.ComputeHashCode(), startHour, hourCount, endHour));
        }         // ComputeHashCode