Dela via


ChaosScheduleTimeUtc Class

Definition

Represents a time of day in 24 hour time. Time is in UTC time.

[System.Runtime.Serialization.DataContract]
public sealed class ChaosScheduleTimeUtc : System.Fabric.ByteSerializable, IComparable<System.Fabric.Chaos.DataStructures.ChaosScheduleTimeUtc>, IEquatable<System.Fabric.Chaos.DataStructures.ChaosScheduleTimeUtc>
[<System.Runtime.Serialization.DataContract>]
type ChaosScheduleTimeUtc = class
    inherit ByteSerializable
    interface IComparable<ChaosScheduleTimeUtc>
    interface IEquatable<ChaosScheduleTimeUtc>
Public NotInheritable Class ChaosScheduleTimeUtc
Inherits ByteSerializable
Implements IComparable(Of ChaosScheduleTimeUtc), IEquatable(Of ChaosScheduleTimeUtc)
Inheritance
ChaosScheduleTimeUtc
Attributes
Implements

Constructors

ChaosScheduleTimeUtc(ChaosScheduleTimeUtc)

Initializes a new instance of the ChaosScheduleTimeUtc class by copying another time.

ChaosScheduleTimeUtc(Int32, Int32)

Initializes a new instance of the ChaosScheduleTimeUtc class.

Fields

EndOfDay

A ChaosScheduleTimeUtc representing the end of the day in UTC time.

StartOfDay

A ChaosScheduleTimeUtc representing the start of the day in UTC time.

Properties

Hour

Gets the integer representing the hour of the day in 24 hour format.

Minute

Gets the integer representing the minute of the hour of the day.

Methods

CompareTo(ChaosScheduleTimeUtc)

Determine how this time relates to another time.

Equals(ChaosScheduleTimeUtc)

Compare if this time is equal to another time.

Equals(Object)

Compare if this time is equal to another object.

FromBytes(Byte[])

This is the default implementation to covert an object back from a byte array

(Inherited from ByteSerializable)
GetHashCode()

Get a hashcode for this object.

Read(BinaryReader)

Reads the state of this object from byte array.

ToBytes()

This is the default implementation to convert an object into a byte array

(Inherited from ByteSerializable)
ToString()

Gets a string representation of this object.

Write(BinaryWriter)

Writes the state of this object into a byte array.

Operators

Equality(ChaosScheduleTimeUtc, ChaosScheduleTimeUtc)

Compares if left side time is the same time as the right side.

GreaterThan(ChaosScheduleTimeUtc, ChaosScheduleTimeUtc)

Compares if left side time is later in the day than the right side.

GreaterThanOrEqual(ChaosScheduleTimeUtc, ChaosScheduleTimeUtc)

Compares if left side time is later or at the same time in the day as the right side.

Inequality(ChaosScheduleTimeUtc, ChaosScheduleTimeUtc)

Compares if the left side time is not the same time as the right side.

LessThan(ChaosScheduleTimeUtc, ChaosScheduleTimeUtc)

Compares if left side time is earlier in the day than the right side.

LessThanOrEqual(ChaosScheduleTimeUtc, ChaosScheduleTimeUtc)

Compares if left side time is earlier in the day or at the same time as the right side.

Applies to