Period Class Reference
[Date and time calculations]

#include <ql/date.hpp>

List of all members.


Detailed Description

Time period described by a number of a given time unit.


Public Member Functions

 Period (Integer n, TimeUnit units)
Integer length () const
TimeUnit units () const

Related Functions

(Note that these are not member functions.)

bool operator< (const Period &, const Period &)
bool operator== (const Period &, const Period &)
bool operator!= (const Period &, const Period &)
bool operator> (const Period &, const Period &)
bool operator<= (const Period &, const Period &)
bool operator>= (const Period &, const Period &)


QuantLib.org
QuantLib
Hosted by
SourceForge.net Logo
Documentation generated by
doxygen