recentDays
Creates a recent-days condition for date fields. Matches documents where the specified date field falls within the last N days (including today).
Return
A new recent-days condition.
Parameters
field
The date field name to check.
days
The number of recent days to include (e.g., 7 for last week including today).
datePattern
Optional date pattern for parsing/formatting. Can be String or DateTimeFormatter.