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
示例#2
0
        }         // Equals

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

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

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

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

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

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

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

        // ----------------------------------------------------------------------
        public override int GetHashCode()
        {
            return(HashTool.ComputeHashCode(GetType().GetHashCode(), date));
        }         // GetHashCode
示例#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
示例#13
0
        } // HasSameData

        // ----------------------------------------------------------------------
        protected override int ComputeHashCode()
        {
            return(HashTool.ComputeHashCode(base.ComputeHashCode(), startDay, dayCount, endDay));
        } // 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(), startHour, hourCount, endHour));
        }         // ComputeHashCode