#include <ored/marketdata/expiry.hpp>
|
|
bool | equal_to (const Expiry &other) const override |
| | Override in derived classes to compare specific expiries.
|
| |
Expiry consisting of an explicit expiry date
◆ fromString()
| void fromString |
( |
const std::string & |
strExpiryDate | ) |
|
|
overridevirtual |
Populate ExpiryDate object from strExpiryDate which should be a date. An exception is thrown if strExpiryDate cannot be parsed as a QuantLib::Date.
Implements Expiry.
◆ toString()
| std::string toString |
( |
| ) |
const |
|
overridevirtual |
Writes the ExpiryDate object to string. This returns the string representation of the expiry date.
Implements Expiry.