public int CompareTo(Emotion other) { if (IDMonth != other.IDMonth) { return(IDMonth.CompareTo(other.IDMonth)); } return(IDDay.CompareTo(other.IDDay)); }
public int CompareTo(Expenditure other) { if (IDMonth != other.IDMonth) { return(IDMonth.CompareTo(other.IDMonth)); } return(IDDay.CompareTo(other.IDDay)); }
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)); }