QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
Loading...
Searching...
No Matches
datetime.docs
Go to the documentation of this file.
1
2/*
3 Copyright (C) 2004 Ferdinando Ametrano
4 Copyright (C) 2000-2004 StatPro Italia srl
5
6 This file is part of QuantLib, a free-software/open-source library
7 for financial quantitative analysts and developers - http://quantlib.org/
8
9 QuantLib is free software: you can redistribute it and/or modify it
10 under the terms of the QuantLib license. You should have received a
11 copy of the license along with this program; if not, please email
12 <quantlib-dev@lists.sf.net>. The license is also available online at
13 <http://quantlib.org/license.shtml>.
14
15 This program is distributed in the hope that it will be useful, but WITHOUT
16 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17 FOR A PARTICULAR PURPOSE. See the license for more details.
18*/
19
20/*! \defgroup datetime Date and time calculations
21
22 The concrete class <tt>QuantLib::Date</tt> implements the concept
23 of date. Its functionalities include:
24
25 - providing basic information such as weekday, day of the month,
26 day of the year, month, and year;
27
28 - comparing two dates to determine whether they are equal, or
29 which one is the earlier or later, or the difference between them
30 expressed in days;
31
32 - incrementing or decrementing a date of a given number of days,
33 or of a given period expressed in weeks, months, or years.
34
35 @{
36*/
37
38/*! \defgroup calendars Calendars
39
40 The class <tt>QuantLib::Calendar</tt> provides the interface for
41 determining whether a date is a business day or a holiday for a
42 given exchange or a given country, and for incrementing/decrementing
43 a date of a given number of business days. A number of calendars is
44 contained in the <tt>ql/time/calendars</tt> directory.
45*/
46
47/*! \defgroup daycounters Day counters
48
49 The class <tt>QuantLib::DayCounter</tt> provides more advanced
50 means of measuring the distance between two dates according to a
51 given market convention, both as number of days of fraction of
52 year. A number of such conventions is contained in the
53 <tt>ql/time/daycounters</tt> directory.
54*/
55
56/*! @} */
57