Exemple #1
0
        }         // Equals

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

        // ----------------------------------------------------------------------
        public override int GetHashCode()
        {
            return(HashTool.ComputeHashCode(GetType().GetHashCode(), duration));
        }         // GetHashCode