Noda Time
PlusHours Method (hours)
NamespacesNodaTimeLocalDateTimePlusHours(Int64)

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

Returns a new LocalDateTime representing the current value with the given number of hours added.
Declaration Syntax
C#Visual BasicVisual C++
public LocalDateTime PlusHours(
	long hours
)
Public Function PlusHours ( _
	hours As Long _
) As LocalDateTime
public:
LocalDateTime PlusHours(
	long long hours
)
Parameters
hours (Int64)
The number of hours to add
Return Value
The current value plus the given number of hours.

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