Matches the day from a HasDate.
Matcher hasDay(Object? matcher) => isA<HasDate>().having((d) => d.day, 'day', matcher);