Logo Search packages:      
Sourcecode: quantlib version File versions  Download package

Classes | Namespaces | Typedefs | Enumerations | Functions

date.hpp File Reference

date- and time-related classes, typedefs and enumerations More...

#include <ql/time/period.hpp>
#include <ql/time/weekday.hpp>
#include <ql/utilities/null.hpp>
#include <utility>
#include <functional>
Include dependency graph for date.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  QuantLib::Date
 Concrete date class. More...
struct  QuantLib::detail::iso_date_holder
struct  QuantLib::detail::long_date_holder
class  QuantLib::Null< Date >
 specialization of Null template for the Date class More...
struct  QuantLib::detail::short_date_holder


namespace  QuantLib


typedef Integer QuantLib::Day
 Day number.
typedef Integer QuantLib::Year
 Year number.


enum  QuantLib::Month {
  January = 1, February = 2, March = 3, April = 4,
  May = 5, June = 6, July = 7, August = 8,
  September = 9, October = 10, November = 11, December = 12,
  Jan = 1, Feb = 2, Mar = 3, Apr = 4,
  Jun = 6, Jul = 7, Aug = 8, Sep = 9,
  Oct = 10, Nov = 11, Dec = 12

Month names.



detail::iso_date_holder QuantLib::io::iso_date (const Date &)
 output dates in ISO format (yyyy-mm-dd)
detail::long_date_holder QuantLib::io::long_date (const Date &)
 output dates in long format (Month ddth, yyyy)
bool QuantLib::operator!= (const Date &d1, const Date &d2)
BigInteger QuantLib::operator- (const Date &d1, const Date &d2)
bool QuantLib::operator< (const Date &d1, const Date &d2)
std::ostream & QuantLib::detail::operator<< (std::ostream &out, const short_date_holder &holder)
std::ostream & QuantLib::detail::operator<< (std::ostream &out, const long_date_holder &holder)
std::ostream & QuantLib::detail::operator<< (std::ostream &out, const iso_date_holder &holder)
bool QuantLib::operator<= (const Date &d1, const Date &d2)
bool QuantLib::operator== (const Date &d1, const Date &d2)
bool QuantLib::operator> (const Date &d1, const Date &d2)
bool QuantLib::operator>= (const Date &d1, const Date &d2)
detail::short_date_holder QuantLib::io::short_date (const Date &)
 output dates in short format (mm/dd/yyyy)

Detailed Description

date- and time-related classes, typedefs and enumerations

Definition in file date.hpp.

Generated by  Doxygen 1.6.0   Back to index