Noda Time
Between Method (start, end)
NamespacesNodaTimePeriodBetween(LocalTime, LocalTime)

[This is preliminary documentation and is subject to change.]

Returns the exact difference between two times.
Declaration Syntax
C#Visual BasicVisual C++
public static Period Between(
	LocalTime start,
	LocalTime end
)
Public Shared Function Between ( _
	start As LocalTime, _
	end As LocalTime _
) As Period
public:
static Period^ Between(
	LocalTime start, 
	LocalTime end
)
Parameters
start (LocalTime)
Start time
end (LocalTime)
End time
Return Value
The period between the two times, using the time period units.
Remarks
If end is before start, each property in the returned period will be negative.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)