Class DateTimeComponents
- Namespace
- EsriPBuffer.Graph
- Assembly
- ESRI.Server.SOESupport.dll
public sealed class DateTimeComponents : IMessage<DateTimeComponents>, IEquatable<DateTimeComponents>, IDeepCloneable<DateTimeComponents>, IBufferMessage, IMessage
- Inheritance
-
DateTimeComponents
- Implements
-
IMessage<DateTimeComponents>IDeepCloneable<DateTimeComponents>IBufferMessageIMessage
- Inherited Members
Constructors
DateTimeComponents()
public DateTimeComponents()
DateTimeComponents(DateTimeComponents)
public DateTimeComponents(DateTimeComponents other)
Parameters
otherDateTimeComponents
Fields
DayFieldNumber
Field number for the "day" field.
public const int DayFieldNumber = 3
Field Value
HoursFieldNumber
Field number for the "hours" field.
public const int HoursFieldNumber = 4
Field Value
MillisecondsFieldNumber
Field number for the "milliseconds" field.
public const int MillisecondsFieldNumber = 7
Field Value
MinutesFieldNumber
Field number for the "minutes" field.
public const int MinutesFieldNumber = 5
Field Value
MonthFieldNumber
Field number for the "month" field.
public const int MonthFieldNumber = 2
Field Value
SecondsFieldNumber
Field number for the "seconds" field.
public const int SecondsFieldNumber = 6
Field Value
YearFieldNumber
Field number for the "year" field.
public const int YearFieldNumber = 1
Field Value
Properties
Day
Day of month. Must be in the range [1, 31].
public int Day { get; set; }
Property Value
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
Month
Month of year. Must be in the range [1, 12].
public int Month { get; set; }
Property Value
Parser
public static MessageParser<DateTimeComponents> Parser { get; }
Property Value
- MessageParser<DateTimeComponents>
Seconds
Seconds of minute. Must be in the range [0, 59].
public int Seconds { get; set; }
Property Value
Year
Year of date. Must be in the range [0, 9999].
public int Year { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
Clone()
public DateTimeComponents Clone()
Returns
Equals(DateTimeComponents)
public bool Equals(DateTimeComponents other)
Parameters
otherDateTimeComponents
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(DateTimeComponents)
public void MergeFrom(DateTimeComponents other)
Parameters
otherDateTimeComponents
MergeFrom(CodedInputStream)
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStream