HLocalTime Constructor
HLocalTime(Byte, Byte, Byte, Int32)
Initializes a new instance of the HLocalTime struct.
Declaration
public HLocalTime(byte hour, byte minute, byte second, int nanosecond)
Parameters
Byte | hour | The hour value. |
Byte | minute | The minute value. |
Byte | second | The second value. |
Int32 | nanosecond | The nanosecond value. |
Exceptions
ArgumentOutOfRangeException |
|
HLocalTime(DateTime)
Initializes a new instance of the HLocalTime struct.
Declaration
public HLocalTime(DateTime dateTime)
Parameters
DateTime | dateTime | The time. |
Remarks
The date part of the dateTime
is ignored.
HLocalTime(TimeSpan)
Initializes a new instance of the HLocalTime struct.
Declaration
public HLocalTime(TimeSpan timeSpan)
Parameters
TimeSpan | timeSpan | The time. |
Exceptions
ArgumentOutOfRangeException |
|