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.
파일 보기 프로젝트 열기: ammachado/QLNet 1 사용 예제들

공개 메소드들

메소드 설명
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