WebCab Bonds for .NET v2.01

AbstractBusinessCalendar.daysBetween Method 

Calculates the number of (integer) days between two (normalized) dates. For example, if you provide a data 1 Jan 2003 00:01, as the start date and 2 Jan 2003 23:59, as the end date, then the number of days returned will be 1.

public virtual int daysBetween(
   DateTime start,
   DateTime end
);

Parameters

start
the start date of the period considered.
end
the end date of the period considered.

Return Value

the integer number of days between two (normalized) dates @throws IllegalArgumentException thrown if the start date is strictly prior to the end date.

Implements

BusinessCalendar.daysBetween

See Also

AbstractBusinessCalendar Class | WebCab.BusinessCalendar Namespace | Calendar)