.NET Client Documentation
5.2.0
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

    HLocalDateTime(HLocalDate, HLocalTime)

    Initializes a new instance of the HLocalDateTime struct.

    HLocalDateTime(DateTime)

    Initializes a new instance of the HLocalDateTime struct.

    HLocalDateTime(Int32, Byte, Byte)

    Initializes a new instance of the HLocalDateTime struct.

    HLocalDateTime(Int32, Byte, Byte, Byte, Byte, Byte, Int32)

    Initializes a new instance of the HLocalDateTime struct.

    Fields

    Max

    Gets the largest possible value of a HLocalDateTime.

    Min

    Gets the smallest possible value of a HLocalDateTime.

    Properties

    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

    Equals(HLocalDateTime)
    Equals(Object)
    GetHashCode()
    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()
    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

    Equality(HLocalDateTime, HLocalDateTime)

    Implements the == operator.

    Explicit(HLocalDateTime to DateTime)

    Implements the HLocalDateTime to DateTime conversion.

    Explicit(DateTime to HLocalDateTime)

    Implements the DateTime to HLocalDateTime conversion.

    Inequality(HLocalDateTime, HLocalDateTime)

    Implements the != operator.

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