Class calculating settlement date from expiry date. More...
#include <settlementFromSpot.hpp>
Public Member Functions | |
SettlementFromSpot () | |
Constructor. More... | |
virtual Date | calculateSettlementDate (Date, Tenor, const Calendar &) const |
Calculates settlement date. More... | |
virtual Date | calculateExpiryDate (Date, Tenor, const Calendar &) const |
Calculates expiry date. More... | |
virtual SettlementFromSpot * | clone () const |
Virtual copy constructor. More... | |
virtual std::string | info () const |
Info about class. More... | |
virtual | ~SettlementFromSpot () |
destructor More... | |
Public Member Functions inherited from julian::SettlementDateConvention | |
SettlementDateConvention () | |
Constructor. More... | |
virtual | ~SettlementDateConvention () |
destructor More... | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &, const unsigned int) |
interface used by Boost serialization library More... | |
Friends | |
class | boost::serialization::access |
Detailed Description
Class calculating settlement date from expiry date.
A transactions are settled on settlement date, but price at which the settlement takes place is determined on expiry date. Settlement date and expiry date for a give tenor can be calculate in different way. This class implements calculating the settlement and expiry in following way:
- Add tenor to spot date and roll the resulting date to appropriate business day. The resulting date would be settlement date.
- Calculate the date for which settlement date is spot date. This would be expiry date.
Constructor & Destructor Documentation
|
inline |
Constructor.
Default constructor.
|
inlinevirtual |
destructor
Default destructor.
Member Function Documentation
|
virtual |
Calculates expiry date.
Implements julian::SettlementDateConvention.
|
virtual |
Calculates settlement date.
Implements julian::SettlementDateConvention.
|
virtual |
Virtual copy constructor.
Method is an implementation of virtual copy constructor.
Implements julian::SettlementDateConvention.
|
virtual |
Info about class.
informations about class
Method returns string that containing information about class.
Implements julian::SettlementDateConvention.
|
inlineprivate |
interface used by Boost serialization library
The documentation for this class was generated from the following files:
- C:/Unix/home/OEM/jULIAN/src/dates/calendars/settlementFromSpot.hpp
- C:/Unix/home/OEM/jULIAN/src/dates/calendars/settlementFromSpot.cpp