C# 클래스 QLNet.Period

파일 보기 프로젝트 열기: ammachado/QLNet 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( Period other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
Normalize ( ) : void
Period ( Frequency f ) : System
Period ( int n, TimeUnit u ) : System
Period ( string period ) : System

Create from a string like "1M", "2Y"...

ToShortString ( ) : string
ToString ( ) : string
operator ( ) : Period
operator ( ) : bool

비공개 메소드들

메소드 설명
GetMaxDays ( ) : int

Converts Period to days.

GetMinDays ( ) : int

Converts Period to days.

frequency ( ) : Frequency
length ( ) : int
units ( ) : TimeUnit

메소드 상세

Equals() 공개 메소드

public Equals ( Period other ) : bool
other Period
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

Normalize() 공개 메소드

public Normalize ( ) : void
리턴 void

Period() 공개 메소드

public Period ( Frequency f ) : System
f Frequency
리턴 System

Period() 공개 메소드

public Period ( int n, TimeUnit u ) : System
n int
u TimeUnit
리턴 System

Period() 공개 메소드

Create from a string like "1M", "2Y"...
public Period ( string period ) : System
period string
리턴 System

ToShortString() 공개 메소드

public ToShortString ( ) : string
리턴 string

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

public static operator ( ) : Period
리턴 Period

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool