Share via


Time Class

Definition

The time of day.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.TimeTypeConverter))]
public class Time : Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.TimeTypeConverter))>]
type Time = class
    interface ITime
    interface IJsonSerializable
Public Class Time
Implements ITime
Inheritance
Time
Attributes
Implements

Constructors

Time()

Creates an new Time instance.

Properties

Hour

The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute value but 0.

Minute

The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Time.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Time.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime.

FromJsonString(String)

Creates a new instance of Time, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Time into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to