net.finmath.time.businessdaycalendar
Class BusinessdayCalendarExcludingWeekends
- java.lang.Object
-
- net.finmath.time.businessdaycalendar.BusinessdayCalendar
-
- net.finmath.time.businessdaycalendar.BusinessdayCalendarExcludingWeekends
-
- All Implemented Interfaces:
- BusinessdayCalendarInterface
public class BusinessdayCalendarExcludingWeekends extends BusinessdayCalendar
A business day calendar, where every day is a business day, expect SATURDAY and SUNDAY.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.finmath.time.businessdaycalendar.BusinessdayCalendarInterface
BusinessdayCalendarInterface.DateRollConvention
-
-
Constructor Summary
Constructors Constructor and Description BusinessdayCalendarExcludingWeekends()Create business day calendar.BusinessdayCalendarExcludingWeekends(BusinessdayCalendarInterface baseCalendar)Create business day calendar using a given business day calendar as basis.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanisBusinessday(java.util.Calendar date)Test if a given date is a businessday.-
Methods inherited from class net.finmath.time.businessdaycalendar.BusinessdayCalendar
createDateFromDateAndOffsetCode, getAdjustedDate, getAdjustedDate, getAdjustedDate, getRolledDate
-
-
-
-
Constructor Detail
-
BusinessdayCalendarExcludingWeekends
public BusinessdayCalendarExcludingWeekends()
Create business day calendar.
-
BusinessdayCalendarExcludingWeekends
public BusinessdayCalendarExcludingWeekends(BusinessdayCalendarInterface baseCalendar)
Create business day calendar using a given business day calendar as basis.- Parameters:
baseCalendar- Calendar of business days.
-
-
Method Detail
-
isBusinessday
public boolean isBusinessday(java.util.Calendar date)
Description copied from interface:BusinessdayCalendarInterfaceTest if a given date is a businessday.- Parameters:
date- The given date.- Returns:
- True, if the given date is a businessday, otherwise false.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG