C# Class CarbonFitness.BusinessLogic.UnitHistory.Line

Inheritance: ILine
Afficher le fichier Open project: yodiz/CarbonFitness

Méthodes publiques

Méthode Description
GetAverageDifferencePerDayBetweenActualValues ( System.DateTime date ) : decimal
GetEnumerator ( ) : IEnumerator
GetFirstDate ( ) : System.DateTime
GetLastDate ( ) : System.DateTime
GetNextValuePoint ( System.DateTime date ) : ValuePoint
GetNumberOfDaysBetweenDates ( System.DateTime first, System.DateTime second ) : int
GetPreviousValuePoint ( System.DateTime date ) : ValuePoint
GetValue ( System.DateTime date ) : ValuePoint
GetValuePoints ( ) : CarbonFitness.BusinessLogic.UnitHistory.ValuePoint[]
Line ( ) : System
Line ( decimal>.Dictionary values ) : System
Line ( int id, decimal>.Dictionary values ) : System
Line ( int id, decimal>.Dictionary values, string title ) : System

Private Methods

Méthode Description
GetCalculatedValuePoint ( System.DateTime date ) : ValuePoint
GetNumberOfDaysFromPreviousValue ( System.DateTime date ) : int
IEnumerable ( ) : IEnumerator
getActualValuePoint ( System.DateTime date ) : ValuePoint
getIndexForValuePoint ( System.DateTime date ) : int
getValuePointWithIndex ( System.DateTime date, ValuePoint valuePoint ) : ValuePoint

Method Details

GetAverageDifferencePerDayBetweenActualValues() public méthode

public GetAverageDifferencePerDayBetweenActualValues ( System.DateTime date ) : decimal
date System.DateTime
Résultat decimal

GetEnumerator() public méthode

public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

GetFirstDate() public méthode

public GetFirstDate ( ) : System.DateTime
Résultat System.DateTime

GetLastDate() public méthode

public GetLastDate ( ) : System.DateTime
Résultat System.DateTime

GetNextValuePoint() public méthode

public GetNextValuePoint ( System.DateTime date ) : ValuePoint
date System.DateTime
Résultat ValuePoint

GetNumberOfDaysBetweenDates() public méthode

public GetNumberOfDaysBetweenDates ( System.DateTime first, System.DateTime second ) : int
first System.DateTime
second System.DateTime
Résultat int

GetPreviousValuePoint() public méthode

public GetPreviousValuePoint ( System.DateTime date ) : ValuePoint
date System.DateTime
Résultat ValuePoint

GetValue() public méthode

public GetValue ( System.DateTime date ) : ValuePoint
date System.DateTime
Résultat ValuePoint

GetValuePoints() public méthode

public GetValuePoints ( ) : CarbonFitness.BusinessLogic.UnitHistory.ValuePoint[]
Résultat CarbonFitness.BusinessLogic.UnitHistory.ValuePoint[]

Line() public méthode

public Line ( ) : System
Résultat System

Line() public méthode

public Line ( decimal>.Dictionary values ) : System
values decimal>.Dictionary
Résultat System

Line() public méthode

public Line ( int id, decimal>.Dictionary values ) : System
id int
values decimal>.Dictionary
Résultat System

Line() public méthode

public Line ( int id, decimal>.Dictionary values, string title ) : System
id int
values decimal>.Dictionary
title string
Résultat System