Start value to make calculation
End value to make calculation
True if end is included, used for tick and range calculation
GetDiffBetweenValues Method (IDiscontinuousDateTimeCalendar)
Calculates units between two values in ticks
Syntax
double GetDiffBetweenValues( 
   DateTime start,
   DateTime end,
   bool includeEnd
)

Parameters

start
Start value to make calculation
end
End value to make calculation
includeEnd
True if end is included, used for tick and range calculation

Return Value

Number of ticks between values taking gaps into account
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