C# Класс QLNet.Time.DayCounter

This class provides methods for determining the length of a time period according to given market convention, both as a number of days and as a year fraction.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DayCounter ( ) : System

The default constructor returns a day counter with a null implementation, which is therefore unusable except as a placeholder.

Equals ( DayCounter other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
ToString ( ) : string
dayCount ( Date d1, Date d2 ) : int
operator ( ) : bool
yearFraction ( Date d1, Date d2 ) : double
yearFraction ( Date d1, Date d2, Date refPeriodStart, Date refPeriodEnd ) : double

Защищенные методы

Метод Описание
DayCounter ( DayCounter dayCounter ) : System

Описание методов

DayCounter() публичный Метод

The default constructor returns a day counter with a null implementation, which is therefore unusable except as a placeholder.
public DayCounter ( ) : System
Результат System

DayCounter() защищенный Метод

protected DayCounter ( DayCounter dayCounter ) : System
dayCounter DayCounter
Результат System

Equals() публичный Метод

public Equals ( DayCounter other ) : bool
other DayCounter
Результат bool

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

ToString() публичный Метод

public ToString ( ) : string
Результат string

dayCount() публичный Метод

public dayCount ( Date d1, Date d2 ) : int
d1 System.Date
d2 System.Date
Результат int

operator() публичный статический Метод

public static operator ( ) : bool
Результат bool

yearFraction() публичный Метод

public yearFraction ( Date d1, Date d2 ) : double
d1 System.Date
d2 System.Date
Результат double

yearFraction() публичный Метод

public yearFraction ( Date d1, Date d2, Date refPeriodStart, Date refPeriodEnd ) : double
d1 System.Date
d2 System.Date
refPeriodStart System.Date
refPeriodEnd System.Date
Результат double