Esempio n. 1
0
 public int CompareTo(Emotion other)
 {
     if (IDMonth != other.IDMonth)
     {
         return(IDMonth.CompareTo(other.IDMonth));
     }
     return(IDDay.CompareTo(other.IDDay));
 }
Esempio n. 2
0
 public int CompareTo(Expenditure other)
 {
     if (IDMonth != other.IDMonth)
     {
         return(IDMonth.CompareTo(other.IDMonth));
     }
     return(IDDay.CompareTo(other.IDDay));
 }
Esempio n. 3
0
 public int CompareTo(Habbit other)
 {
     if (IDMonth != other.IDMonth)
     {
         return(IDMonth.CompareTo(other.IDMonth));
     }
     if (IDDay != other.IDDay)
     {
         return(IDDay.CompareTo(other.IDDay));
     }
     return(IDHabbitType.CompareTo(other.IDHabbitType));
 }