isSameDayAndMonth method

ConditionQuery isSameDayAndMonth(
  1. DateTime d
)

Get db statement to check weather this field has same day and month parts of another DateTime object.

Implementation

ConditionQuery isSameDayAndMonth(DateTime d) {
  return day.equals(d.day) & month.equals(d.month);
}