Checks if this Time instance represents the same calendar day as other. Ignores the time part.
other
bool isSameDay(Time other) => year == other.year && month == other.month && day == other.day;