Package com.walkfares.calendar.expiry
Class ExpiryRuleOptions
java.lang.Object
com.walkfares.calendar.expiry.ExpiryRuleOptions
public class ExpiryRuleOptions extends Object
-
Constructor Summary
Constructors Constructor Description ExpiryRuleOptions()
-
Method Summary
Modifier and Type Method Description AlignmentOptions
getAlignAfterOffset()
AlignmentOptions
getAlignBeforeOffset()
HolidayCalendar
getBase()
HolidayCalendar
getCross()
int
getOffset()
HolidayCalendar
getQuoting()
boolean
isOffsetUsingCalendar()
UTCDate
performOffset(Calendar tradingCalendar, UTCDate expiry)
ExpiryRuleOptions
setBase(HolidayCalendar base)
ExpiryRuleOptions
setCross(HolidayCalendar cross)
ExpiryRuleOptions
setOffset(int offset)
ExpiryRuleOptions
setOffsetUsingCalendar(boolean offsetUsingCalendar)
ExpiryRuleOptions
setQuoting(HolidayCalendar quoting)
-
Constructor Details
-
ExpiryRuleOptions
public ExpiryRuleOptions()
-
-
Method Details
-
performOffset
-
getAlignBeforeOffset
-
getAlignAfterOffset
-
getOffset
public int getOffset() -
setOffset
-
isOffsetUsingCalendar
public boolean isOffsetUsingCalendar() -
setOffsetUsingCalendar
-
getQuoting
-
setQuoting
-
getCross
-
setCross
-
getBase
-
setBase
-