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
-
IMessage<TimeOnlyComponents>IDeepCloneable<TimeOnlyComponents>IBufferMessageIMessage
- Inherited Members
Constructors
TimeOnlyComponents()
public TimeOnlyComponents()
TimeOnlyComponents(TimeOnlyComponents)
public TimeOnlyComponents(TimeOnlyComponents other)
Parameters
otherTimeOnlyComponents
Fields
HoursFieldNumber
Field number for the "hours" field.
public const int HoursFieldNumber = 1
Field Value
MillisecondsFieldNumber
Field number for the "milliseconds" field.
public const int MillisecondsFieldNumber = 4
Field Value
MinutesFieldNumber
Field number for the "minutes" field.
public const int MinutesFieldNumber = 2
Field Value
SecondsFieldNumber
Field number for the "seconds" field.
public const int SecondsFieldNumber = 3
Field Value
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
Milliseconds
milliseconds of second. Must be in the range [0, 999].
public int Milliseconds { get; set; }
Property Value
Minutes
Minutes of hour of day. Must be in the range [0, 59].
public int Minutes { get; set; }
Property Value
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
Methods
CalculateSize()
public int CalculateSize()
Returns
Clone()
public TimeOnlyComponents Clone()
Returns
Equals(TimeOnlyComponents)
public bool Equals(TimeOnlyComponents other)
Parameters
otherTimeOnlyComponents
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(TimeOnlyComponents)
public void MergeFrom(TimeOnlyComponents other)
Parameters
otherTimeOnlyComponents
MergeFrom(CodedInputStream)
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStream