Package com.walkfares.calendar
Interface ExpiryRule
- All Known Implementing Classes:
GrammarExpiryRule
public interface ExpiryRule
-
Method Summary
Modifier and Type Method Description UTCDate
getDeliveryEnd(CurveDate curveDate, PeriodCode pc)
UTCDate
getDeliveryStart(CurveDate curveDate, PeriodCode pc)
UTCDate
getExpiry(Calendar tradingCalendar, UTCDate startOfDelivery)
String
getName()
ExpiryRuleOptions
getOptions()
boolean
isDeliveryEndRule()
boolean
isDeliveryStartRule()
default boolean
isExpiryDateRule()
boolean
isIntradayRule()
void
setOptions(ExpiryRuleOptions options)
-
Method Details
-
getName
String getName() -
getOptions
ExpiryRuleOptions getOptions() -
setOptions
-
getExpiry
-
getDeliveryStart
-
getDeliveryEnd
-
isDeliveryStartRule
boolean isDeliveryStartRule() -
isDeliveryEndRule
boolean isDeliveryEndRule() -
isIntradayRule
boolean isIntradayRule() -
isExpiryDateRule
default boolean isExpiryDateRule()
-