HOffsetDateTime Struct
Namespace: Hazelcast.Models
Assembly: Hazelcast.Net.dll
Represents an Hazelcast TIMESTAMP_WITH_TIME_ZONE primitive type value.
public readonly struct HOffsetDateTime : IEquatable<HOffsetDateTime>
  Implements
Inherited Members
Remarks
The TIMESTAMP_WITH_TIME_ZONE primitive type consists of a TIMESTAMP
LocalDateTime and a timezone Offset.
The offset ranges between MinOffset and MaxOffset inclusive. with a 1 second precision, smaller values being rounded and lost during serialization.
Constructors
| Name | Description | 
|---|---|
| HOffsetDateTime(HLocalDateTime, int) | Initializes a new instance of the HOffsetDateTime struct.  | 
      
| HOffsetDateTime(HLocalDateTime, TimeSpan) | Initializes a new instance of the HOffsetDateTime struct.  | 
      
| HOffsetDateTime(DateTime, TimeSpan) | Initializes a new instance of the HOffsetDateTime struct.  | 
      
| HOffsetDateTime(DateTimeOffset) | Initializes a new instance of the HOffsetDateTime struct.  | 
      
Fields
| Name | Description | 
|---|---|
| Max | Gets the largest possible value of a HOffsetDateTime.  | 
      
| MaxOffset | Gets the largest possible value of the offset part.  | 
      
| Min | Gets the smallest possible value of a HOffsetDateTime.  | 
      
| MinOffset | Gets the smallest possible value of the offset part.  | 
      
Properties
| Name | Description | 
|---|---|
| LocalDateTime | Gets the local date and time part.  | 
      
| Offset | Gets the offset part.  | 
      
Methods
| Name | Description | 
|---|---|
| Equals(HOffsetDateTime) | Indicates whether the current object is equal to another object of the same type.  | 
      
| Equals(object?) | Indicates whether this instance and a specified object are equal.  | 
      
| GetHashCode() | Returns the hash code for this instance.  | 
      
| Parse(string) | Converts the string representation of a date and time with timezone to its HOffsetDateTime equivalent.  | 
      
| ToDateTimeOffset() | Converts the value of this instance to its DateTimeOffset equivalent.  | 
      
| ToString() | Returns the fully qualified type name of this instance.  | 
      
| TryParse(string, out HOffsetDateTime) | Converts the string representation of a date and time with timezone to its HOffsetDateTime equivalent. A return value indicates whether the operation succeeded.  | 
      
| TryToDateTimeOffset(out DateTimeOffset) | Converts the value of this instance to its DateTimeOffset equivalent. A return value indicates whether the operation succeeded.  | 
      
Operators
| Name | Description | 
|---|---|
| operator ==(HOffsetDateTime, HOffsetDateTime) | Implements the == operator.  | 
      
| explicit operator DateTimeOffset(HOffsetDateTime) | Implements the HOffsetDateTime to DateTimeOffset conversion.  | 
      
| explicit operator HOffsetDateTime(DateTimeOffset) | Implements the DateTimeOffset to HOffsetDateTime conversion.  | 
      
| operator !=(HOffsetDateTime, HOffsetDateTime) | Implements the != operator.  |