Slu.Heureka.DomainLayer.Forest Namespace > PeriodHandler Class > GetPeriodClosestToTreatmentYear Method : GetPeriodClosestToTreatmentYear(IEnumerable<PeriodRange>,Double) Method |
'Declaration
Public Overloads Shared Function GetPeriodClosestToTreatmentYear( _ ByVal ranges As IEnumerable(Of PeriodRange), _ ByVal year As Double _ ) As PeriodRange
'Usage
Dim ranges As IEnumerable(Of PeriodRange) Dim year As Double Dim value As PeriodRange value = PeriodHandler.GetPeriodClosestToTreatmentYear(ranges, year)
public static PeriodRange GetPeriodClosestToTreatmentYear( IEnumerable<PeriodRange> ranges, double year )
public: static PeriodRange GetPeriodClosestToTreatmentYear( IEnumerable<PeriodRange>^ ranges, double year )
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