Class SmartDerivativeContractScheduleGenerator.EventTimesImpl
java.lang.Object
net.finmath.smartcontract.contract.SmartDerivativeContractScheduleGenerator.EventTimesImpl
- All Implemented Interfaces:
SmartDerivativeContractSchedule.EventTimes
- Enclosing class:
SmartDerivativeContractScheduleGenerator
public static class SmartDerivativeContractScheduleGenerator.EventTimesImpl
extends Object
implements SmartDerivativeContractSchedule.EventTimes
Simple POJO implementation of
SmartDerivativeContractSchedule.EventTimes
.- Author:
- Christian Fries
-
Constructor Summary
ConstructorDescriptionEventTimesImpl
(LocalDateTime settementTime, LocalDateTime accountAccessAllowedStart, Duration accountAccessAllowedPeriod, LocalDateTime marginCheckTime) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
EventTimesImpl
public EventTimesImpl(LocalDateTime settementTime, LocalDateTime accountAccessAllowedStart, Duration accountAccessAllowedPeriod, LocalDateTime marginCheckTime)
-
-
Method Details
-
getSettementTime
- Specified by:
getSettementTime
in interfaceSmartDerivativeContractSchedule.EventTimes
- Returns:
- the settementTime
-
getAccountAccessAllowedStart
- Specified by:
getAccountAccessAllowedStart
in interfaceSmartDerivativeContractSchedule.EventTimes
- Returns:
- the accountAccessAllowedStart
-
getAccountAccessAllowedPeriod
- Specified by:
getAccountAccessAllowedPeriod
in interfaceSmartDerivativeContractSchedule.EventTimes
- Returns:
- the accountAccessAllowedPeriod
-
getMarginCheckTime
- Specified by:
getMarginCheckTime
in interfaceSmartDerivativeContractSchedule.EventTimes
- Returns:
- the marginCheckTime
-