Example #1
0
 public bool isBirthday(XDate today)
 {
     return(today.isSameDay(birthDate));
 }
 public bool isSameDay(XDate anotherDate)
 {
     return(anotherDate.getDay() == this.getDay() && anotherDate.getMonth() == this.getMonth());
 }