HLocalTime Struct
Namespace: Hazelcast.Models
Assembly: Hazelcast.Net.dll
Represents an Hazelcast TIME
primitive type value.
public readonly struct HLocalTime : IEquatable<HLocalTime>
Implements
Inherited Members
Remarks
The TIME
primitive type consists in hours, minutes, seconds
and nanoseconds, with nanosecond precision and one-day range.
Constructors
HLocalTime(Byte, Byte, Byte, Int32) | Initializes a new instance of the HLocalTime struct. |
HLocalTime(DateTime) | Initializes a new instance of the HLocalTime struct. |
HLocalTime(TimeSpan) | Initializes a new instance of the HLocalTime struct. |
Fields
Max | Gets the largest possible value of a HLocalTime. |
Midnight | Gets a value that represents midnight, i.e. "00:00:00". |
Min | Gets the smallest possible value of a HLocalTime. |
Noon | Gets a value that represents noon, i.e. "12:00:00". |
Properties
Hour | Gets the hour value. |
Minute | Gets the minute value. |
Nanosecond | Gets the nanosecond value. |
Second | Gets the second value. |
Methods
Equals(HLocalTime) | |
Equals(Object) | |
GetHashCode() | |
Parse(String) | Converts the string representation of a time to its HLocalTime representation. |
ToString() | |
ToTimeSpan() | Converts the value of this HLocalTime to its TimeSpan equivalent. |
TryParse(String, out HLocalTime) | Converts the string representation of a time to its HLocalTime representation. A return value indicates whether the operation succeeded. |
Operators
Equality(HLocalTime, HLocalTime) | Implements the == operator. |
Explicit(HLocalTime to TimeSpan) | Implements the HLocalTime to TimeSpan conversion. |
Explicit(DateTime to HLocalTime) | Implements the DateTime to HLocalTime conversion. |
Explicit(TimeSpan to HLocalTime) | Implements the TimeSpan to HLocalTime conversion. |
Inequality(HLocalTime, HLocalTime) | Implements the != operator. |