C# Class QLNet.Period

Afficher le fichier Open project: ammachado/QLNet Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
GetMaxDays ( ) : int

Converts Period to days.

GetMinDays ( ) : int

Converts Period to days.

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

Method Details

Equals() public méthode

public Equals ( Period other ) : bool
other Period
Résultat bool

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Normalize() public méthode

public Normalize ( ) : void
Résultat void

Period() public méthode

public Period ( Frequency f ) : System
f Frequency
Résultat System

Period() public méthode

public Period ( int n, TimeUnit u ) : System
n int
u TimeUnit
Résultat System

Period() public méthode

Create from a string like "1M", "2Y"...
public Period ( string period ) : System
period string
Résultat System

ToShortString() public méthode

public ToShortString ( ) : string
Résultat string

ToString() public méthode

public ToString ( ) : string
Résultat string

operator() public static méthode

public static operator ( ) : Period
Résultat Period

operator() public static méthode

public static operator ( ) : bool
Résultat bool