Package com.activeviam.risk.core.dates
Interface IBusinessDayConvention
-
- All Known Implementing Classes:
BusinessDayFollowing
,BusinessDayModifiedFollowing
,BusinessDayModifiedPrevious
,BusinessDayNoAdjustment
,BusinessDayPrevious
public interface IBusinessDayConvention
Interface used for rolling dates to get business days.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocalDate
businessDay(LocalDate date, IBusinessDayCalendar calendar)
Rolls the input date to the appropriate business day.
-
-
-
Method Detail
-
businessDay
LocalDate businessDay(LocalDate date, IBusinessDayCalendar calendar)
Rolls the input date to the appropriate business day.- Parameters:
date
- The initial date (not necessarily a business day).calendar
- Calendar to identify business days- Returns:
- The business day.
-
-