Calendar.lb¶
- Calendar.lb(date: date, default='raise') date¶
Returns the most recent date strictly before (“last-before”, or “lb”)
- Parameters:
date (datetime.date) – the lookup date
default (optional) – default value if the given date is strictly before the first date in the calendar
- Returns:
the most recent date strictly before date
- Return type:
datetime.date
See also
Calendar.faReturns the first date after
Calendar.asofReturns the most recent date on or before (after) another date