Date conditions
before(date): Check if date is before another date
before(date): Check if date is before another dateStream.of([datetime.now() - timedelta(days=1)])\
.filter(before(datetime.now()))\
.for_each(print) # Output: 2023-06-01 17:03:54.386812after(date): Check if date is after another date
after(date): Check if date is after another dateStream.of([datetime.now() + timedelta(days=1)])\
.filter(after(datetime.now()))\
.for_each(print) # Output: 2023-06-03 17:03:54.386812before_or_equal(date): Check if date is before or equal to another date
before_or_equal(date): Check if date is before or equal to another dateStream.of([datetime.now() - timedelta(days=1)])\
.filter(before_or_equal(datetime.now()))\
.for_each(print) # Output: 2023-06-01 17:03:54.386812after_or_equal(date): Check if date is after or equal to another date
after_or_equal(date): Check if date is after or equal to another datebetween_or_equal(start_date, end_date): Check if date is between or equal to two dates
between_or_equal(start_date, end_date): Check if date is between or equal to two datesnot_between_or_equal(start_date, end_date): Check if date is not between or equal to two dates
not_between_or_equal(start_date, end_date): Check if date is not between or equal to two datestoday(): Check if date is today
today(): Check if date is todaytoday_utc(): Check if date is today in UTC
today_utc(): Check if date is today in UTCyesterday(): Check if date is yesterday
yesterday(): Check if date is yesterdayyesterday_utc(): Check if date is yesterday in UTC
yesterday_utc(): Check if date is yesterday in UTCtomorrow(): Check if date is tomorrow
tomorrow(): Check if date is tomorrowtomorrow_utc(): Check if date is tomorrow in UTC
tomorrow_utc(): Check if date is tomorrow in UTCthis_week(): Check if date is within the current week
this_week(): Check if date is within the current weekthis_week_utc(): Check if date is within the current week in UTC
this_week_utc(): Check if date is within the current week in UTClast_week(): Check if date is within the previous week
last_week(): Check if date is within the previous weeklast_week_utc(): Check if date is within the previous week in UTC
last_week_utc(): Check if date is within the previous week in UTCnext_week(): Check if date is within the next week
next_week(): Check if date is within the next weeknext_week_utc(): Check if date is within the next week in UTC
next_week_utc(): Check if date is within the next week in UTCthis_month(): Check if date is within the current month
this_month(): Check if date is within the current monththis_month_utc(): Check if date is within the current month in UTC
this_month_utc(): Check if date is within the current month in UTClast_month(): Check if date is within the previous month
last_month(): Check if date is within the previous monthlast_month_utc(): Check if date is within the previous month in UTC
last_month_utc(): Check if date is within the previous month in UTCnext_month(): Check if date is within the next month
next_month(): Check if date is within the next monthnext_month_utc(): Check if date is within the next month in UTC
next_month_utc(): Check if date is within the next month in UTCthis_year(): Check if date is within the current year
this_year(): Check if date is within the current yearthis_year_utc(): Check if date is within the current year in UTC
this_year_utc(): Check if date is within the current year in UTClast_year(): Check if date is within the previous year
last_year(): Check if date is within the previous yearlast_year_utc(): Check if date is within the previous year in UTC
last_year_utc(): Check if date is within the previous year in UTCnext_year(): Check if date is within the next year
next_year(): Check if date is within the next yearnext_year_utc(): Check if date is within the next year in UTC
next_year_utc(): Check if date is within the next year in UTCLast updated