- java.lang.Object
-
- net.finmath.time.businessdaycalendar.AbstractBusinessdayCalendar
-
- net.finmath.time.businessdaycalendar.BusinessdayCalendarAny
-
- All Implemented Interfaces:
Serializable
,BusinessdayCalendar
public class BusinessdayCalendarAny extends AbstractBusinessdayCalendar
A business day calendar, where every day is a business day.- Version:
- 1.0
- Author:
- Christian Fries
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.finmath.time.businessdaycalendar.BusinessdayCalendar
BusinessdayCalendar.DateOffsetUnit, BusinessdayCalendar.DateRollConvention
-
-
Constructor Summary
Constructors Constructor Description BusinessdayCalendarAny()
Create a business day calendar, where every day is a business day.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isBusinessday(LocalDate date)
Test if a given date is a businessday.String
toString()
-
Methods inherited from class net.finmath.time.businessdaycalendar.AbstractBusinessdayCalendar
convertOffsetCodesToTimes, createDateFromDateAndOffsetCodes, getAdjustedDate, getAdjustedDate, getDateFromDateAndOffsetCode, getRolledDate
-
-
-
-
Method Detail
-
isBusinessday
public boolean isBusinessday(LocalDate date)
Description copied from interface:BusinessdayCalendar
Test if a given date is a businessday.- Parameters:
date
- The given date.- Returns:
- True, if the given date is a businessday, otherwise false.
-
toString
public String toString()
- Overrides:
toString
in classAbstractBusinessdayCalendar
-
-