.NET Client Documentation
5.2.2
Search Results for

    Show / Hide Table of Contents

    HLocalDateTime Struct

    Namespace: Hazelcast.Models
    Assembly: Hazelcast.Net.dll

    Represents an Hazelcast SQL TIMESTAMP primitive type value.

    public readonly struct HLocalDateTime : IEquatable<HLocalDateTime>
    Implements
    IEquatable<HLocalDateTime>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Remarks

    The TIMESTAMP primitive type consists of a DATE Date and a TIME Time.

    Constructors

    Name Description
    HLocalDateTime(HLocalDate, HLocalTime)

    Initializes a new instance of the HLocalDateTime struct.

    HLocalDateTime(DateTime)

    Initializes a new instance of the HLocalDateTime struct.

    HLocalDateTime(int, byte, byte)

    Initializes a new instance of the HLocalDateTime struct.

    HLocalDateTime(int, byte, byte, byte, byte, byte, int)

    Initializes a new instance of the HLocalDateTime struct.

    Fields

    Name Description
    Max

    Gets the largest possible value of a HLocalDateTime.

    Min

    Gets the smallest possible value of a HLocalDateTime.

    Properties

    Name Description
    Date

    Gets the date value.

    Day

    Gets the day value.

    Hour

    Gets the hour value.

    Minute

    Gets the minute value.

    Month

    Gets the month value.

    Nanosecond

    Gets the nanosecond value.

    Second

    Gets the second value.

    Time

    Gets the time value.

    Year

    Gets the year value.

    Methods

    Name Description
    Equals(HLocalDateTime)

    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 to its HLocalDateTime representation.

    ToDateTime()

    Converts the value of this HLocalDateTime to its DateTime equivalent.

    ToString()

    Returns the fully qualified type name of this instance.

    TryParse(string?, out HLocalDateTime)

    Converts the string representation of a date and time to its HLocalDateTime representation. A return value indicates whether the operation succeeded.

    TryToDateTime(out DateTime)

    Converts the value of this HLocalDateTime to its DateTime equivalent. A return value indicates whether the operation succeeded.

    Operators

    Name Description
    operator ==(HLocalDateTime, HLocalDateTime)

    Implements the == operator.

    explicit operator DateTime(HLocalDateTime)

    Implements the HLocalDateTime to DateTime conversion.

    explicit operator HLocalDateTime(DateTime)

    Implements the DateTime to HLocalDateTime conversion.

    operator !=(HLocalDateTime, HLocalDateTime)

    Implements the != operator.

    In This Article
    Back to top Copyright © 2010-2023 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.