Show / Hide Table of Contents

Constructor TimeOnly

TimeOnly(Int32, Int32, Int32)

Initializes a new instance of the TimeOnly struct with the specified hour, minute, and seconds.

Declaration
public TimeOnly(int hour, int minute, int second)
Parameters
Type Name Description
System.Int32 hour

The hours (0 through 23).

System.Int32 minute

The minutes (0 through 59).

System.Int32 second

The seconds (0 through 59).

Exceptions
Type Condition
System.ArgumentOutOfRangeException

Applies to

Platforms and versions
TargetVersions
.NET Framework200.4 - 200.8
UWP200.4 - 200.8
In This Article
Back to top Copyright © 2022 Esri.