Heureka API .NET Documentation
GetPeriodLengths(Double,Int32,Double) Method



Number of years to calculate for
Number of whole 5-year-periods
Years not covered by noOf5YearPeriods, ie rest
Calculates how many whole 5-year-periods and additional years given year consists of.
Syntax
'Declaration
 
Public Overloads Shared Sub GetPeriodLengths( _
   ByVal yearsToGrow As Double, _
   ByRef noOf5YearPeriods As Integer, _
   ByRef additionalYears As Double _
) 
'Usage
 
Dim yearsToGrow As Double
Dim noOf5YearPeriods As Integer
Dim additionalYears As Double
 
SeasonCalculator.GetPeriodLengths(yearsToGrow, noOf5YearPeriods, additionalYears)
public static void GetPeriodLengths( 
   double yearsToGrow,
   out int noOf5YearPeriods,
   out double additionalYears
)
public:
static void GetPeriodLengths( 
   double yearsToGrow,
   [Out] int noOf5YearPeriods,
   [Out] double additionalYears
) 

Parameters

yearsToGrow
Number of years to calculate for
noOf5YearPeriods
Number of whole 5-year-periods
additionalYears
Years not covered by noOf5YearPeriods, ie rest
Example
yearsToGrow = 12,5 => noOf5YearPeriods = 2, additionalYears = 2,5
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SeasonCalculator Class
SeasonCalculator Members
Overload List

Send Feedback