Class DateOnlyComponents
- Namespace
- EsriPBuffer.Graph
- Assembly
- ESRI.Server.SOESupport.dll
public sealed class DateOnlyComponents : IMessage<DateOnlyComponents>, IEquatable<DateOnlyComponents>, IDeepCloneable<DateOnlyComponents>, IBufferMessage, IMessage
- Inheritance
-
DateOnlyComponents
- Implements
-
IMessage<DateOnlyComponents>IDeepCloneable<DateOnlyComponents>IBufferMessageIMessage
- Inherited Members
Constructors
DateOnlyComponents()
public DateOnlyComponents()
DateOnlyComponents(DateOnlyComponents)
public DateOnlyComponents(DateOnlyComponents other)
Parameters
otherDateOnlyComponents
Fields
DayFieldNumber
Field number for the "day" field.
public const int DayFieldNumber = 3
Field Value
MonthFieldNumber
Field number for the "month" field.
public const int MonthFieldNumber = 2
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
Month
Month of year. Must be in the range [1, 12].
public int Month { get; set; }
Property Value
Parser
public static MessageParser<DateOnlyComponents> Parser { get; }
Property Value
- MessageParser<DateOnlyComponents>
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 DateOnlyComponents Clone()
Returns
Equals(DateOnlyComponents)
public bool Equals(DateOnlyComponents other)
Parameters
otherDateOnlyComponents
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(DateOnlyComponents)
public void MergeFrom(DateOnlyComponents other)
Parameters
otherDateOnlyComponents
MergeFrom(CodedInputStream)
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStream