.NET Client Documentation
5.5.0
Search Results for

    Show / Hide Table of Contents

    HLocalTime Constructor

    HLocalTime(byte, byte, byte, int)

    Initializes a new instance of the HLocalTime struct.

    Declaration
    public HLocalTime(byte hour, byte minute, byte second, int nanosecond)
    Parameters
    byte hour

    The hour value.

    byte minute

    The minute value.

    byte second

    The second value.

    int nanosecond

    The nanosecond value.

    Exceptions
    ArgumentOutOfRangeException

    hour, minute, second, and/or nanosecond is out of range.

    HLocalTime(DateTime)

    Initializes a new instance of the HLocalTime struct.

    Declaration
    public HLocalTime(DateTime dateTime)
    Parameters
    DateTime dateTime

    The time.

    Remarks

    The date part of the dateTime is ignored.

    HLocalTime(TimeSpan)

    Initializes a new instance of the HLocalTime struct.

    Declaration
    public HLocalTime(TimeSpan timeSpan)
    Parameters
    TimeSpan timeSpan

    The time.

    Exceptions
    ArgumentOutOfRangeException

    timeSpan is out of range.

    HLocalTime(TimeOnly)

    Initializes a new instance of the HLocalTime struct.

    Declaration
    public HLocalTime(TimeOnly timeOnly)
    Parameters
    TimeOnly timeOnly

    The time.

    In this article
    Back to top Copyright © 2010-2024 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.