LocalTime Class |
Namespace: Dse
public class LocalTime : IComparable<LocalTime>, IEquatable<LocalTime>
The LocalTime type exposes the following members.
Name | Description | |
---|---|---|
LocalTime(Int64) |
Creates a new instance based on nanoseconds since midnight.
| |
LocalTime(Int32, Int32, Int32, Int32) |
Creates a new instance based on the specified hour, minutes, seconds, millis and nanoseconds.
|
Name | Description | |
---|---|---|
Hour |
Gets the hour component of the time represented by the current instance, a number from 0 to 23.
| |
Minute |
Gets the minute component of the time represented by the current instance, a number from 0 to 59.
| |
Nanoseconds |
Gets the nanoseconds component of the time represented by the current instance, a number from 0 to 999,999,999.
| |
Second |
Gets the second component of the time represented by the current instance, a number from 0 to 59.
| |
TotalNanoseconds |
Gets the number of nanoseconds since midnight.
|
Name | Description | |
---|---|---|
CompareTo | ||
Equals(Object) | (Overrides ObjectEquals(Object).) | |
Equals(LocalTime) | ||
GetHashCode | (Overrides ObjectGetHashCode.) | |
Parse |
Creates a new LocalTime instance based on the string representation.
| |
ToString | (Overrides ObjectToString.) |