public int CompareTo(SolarLunarName other)
 {
     if (other == null)
     {
         return(1);
     }
     return(this.SolarDateTime.CompareTo(other.SolarDateTime));
 }
        public int CompareTo(object obj)
        {
            if (obj == null)
            {
                return(1);
            }
            SolarLunarName other = obj as SolarLunarName;

            return(this.CompareTo(other));
        }
 public bool Equals(SolarLunarName other)
 {
     return(other != null || this.SolarDateTime == other.SolarDateTime);
 }
 public static int Compare(SolarLunarName t1, SolarLunarName t2)
 {
     return(t1.CompareTo(t2));
 }
 public int Subtract(SolarLunarName other)
 {
     return(this.SolarDateTime.Subtract(other.SolarDateTime).Days);
 }