.NET Client Documentation
5.2.0
Search Results for

    Show / Hide Table of Contents

    HLocalDate Struct

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

    Represents an Hazelcast DATE primitive type value.

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

    The DATE primitive type consists in a day, month and year, with year being comprised between MinYear and MaxYear inclusive.

    Constructors

    HLocalDate(DateTime)

    Initializes a new instance of the HLocalDate struct.

    HLocalDate(Int32, Byte, Byte)

    Initializes a new instance of the HLocalDate struct.

    Fields

    Max

    Gets the largest possible value of a HLocalDate.

    MaxYear

    Gets the largest possible value of the year value.

    Min

    Gets the smallest possible value of a HLocalDate.

    MinYear

    Gets the smallest possible value of the year value.

    Properties

    Day

    Gets the day value.

    Month

    Gets the month value.

    Year

    Gets the year value.

    Methods

    Equals(HLocalDate)
    Equals(Object)
    GetHashCode()
    Parse(String)

    Converts the string representation of a date to its HLocalDate representation.

    ToDateTime()

    Converts the value of this HLocalDate to its DateTime equivalent.

    ToString()
    TryParse(String, out HLocalDate)

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

    TryToDateTime(out DateTime)

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

    Operators

    Equality(HLocalDate, HLocalDate)

    Implements the == operator.

    Explicit(HLocalDate to DateTime)

    Implements the HLocalDate to DateTime conversion.

    Explicit(DateTime to HLocalDate)

    Implements the DateTime to HLocalDate conversion.

    Inequality(HLocalDate, HLocalDate)

    Implements the != operator.

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