Noda Time
LocalTime Constructor (hour, minute, second, millisecond)
NamespacesNodaTimeLocalTimeLocalTime(Int32, Int32, Int32, Int32)

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

Creates a local time at the given hour, minute, second and millisecond, with a tick-of-millisecond value of zero.
Declaration Syntax
C#Visual BasicVisual C++
public LocalTime(
	int hour,
	int minute,
	int second,
	int millisecond
)
Public Sub New ( _
	hour As Integer, _
	minute As Integer, _
	second As Integer, _
	millisecond As Integer _
)
public:
LocalTime(
	int hour, 
	int minute, 
	int second, 
	int millisecond
)
Parameters
hour (Int32)
The hour of day.
minute (Int32)
The minute of the hour.
second (Int32)
The second of the minute.
millisecond (Int32)
The millisecond of the second.
Return Value
The resulting time.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThe parameters do not form a valid time.

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