Higher-order function. Returns a function that returns true if the argument is a date that is in the same year and is in the past or the same date.
The date to compare to.
A function that takes a date and returns true if it is the same year and in the past or the same date as the comparison date.
Higher-order function. Returns a function that returns true if the argument is a date that is in the same year and is in the past or the same date.