Class TimeOnlyComponents

Namespace
EsriPBuffer.Graph
Assembly
ESRI.Server.SOESupport.dll
public sealed class TimeOnlyComponents : IMessage<TimeOnlyComponents>, IEquatable<TimeOnlyComponents>, IDeepCloneable<TimeOnlyComponents>, IBufferMessage, IMessage
Inheritance
TimeOnlyComponents
Implements
IDeepCloneable<TimeOnlyComponents>
IBufferMessage
IMessage
Inherited Members

Constructors

TimeOnlyComponents()

public TimeOnlyComponents()

TimeOnlyComponents(TimeOnlyComponents)

public TimeOnlyComponents(TimeOnlyComponents other)

Parameters

other TimeOnlyComponents

Fields

HoursFieldNumber

Field number for the "hours" field.

public const int HoursFieldNumber = 1

Field Value

int

MillisecondsFieldNumber

Field number for the "milliseconds" field.

public const int MillisecondsFieldNumber = 4

Field Value

int

MinutesFieldNumber

Field number for the "minutes" field.

public const int MinutesFieldNumber = 2

Field Value

int

SecondsFieldNumber

Field number for the "seconds" field.

public const int SecondsFieldNumber = 3

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Hours

Hours of day in 24 hour format. Must be in the range [0,23].

public int Hours { get; set; }

Property Value

int

Milliseconds

milliseconds of second. Must be in the range [0, 999].

public int Milliseconds { get; set; }

Property Value

int

Minutes

Minutes of hour of day. Must be in the range [0, 59].

public int Minutes { get; set; }

Property Value

int

Parser

public static MessageParser<TimeOnlyComponents> Parser { get; }

Property Value

MessageParser<TimeOnlyComponents>

Seconds

Seconds of minute. Must be in the range [0, 59].

public int Seconds { get; set; }

Property Value

int

Methods

CalculateSize()

public int CalculateSize()

Returns

int

Clone()

public TimeOnlyComponents Clone()

Returns

TimeOnlyComponents

Equals(TimeOnlyComponents)

public bool Equals(TimeOnlyComponents other)

Parameters

other TimeOnlyComponents

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(TimeOnlyComponents)

public void MergeFrom(TimeOnlyComponents other)

Parameters

other TimeOnlyComponents

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream