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
IDeepCloneable<DateOnlyComponents>
IBufferMessage
IMessage
Inherited Members

Constructors

DateOnlyComponents()

public DateOnlyComponents()

DateOnlyComponents(DateOnlyComponents)

public DateOnlyComponents(DateOnlyComponents other)

Parameters

other DateOnlyComponents

Fields

DayFieldNumber

Field number for the "day" field.

public const int DayFieldNumber = 3

Field Value

int

MonthFieldNumber

Field number for the "month" field.

public const int MonthFieldNumber = 2

Field Value

int

YearFieldNumber

Field number for the "year" field.

public const int YearFieldNumber = 1

Field Value

int

Properties

Day

Day of month. Must be in the range [1, 31].

public int Day { get; set; }

Property Value

int

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

int

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

int

Methods

CalculateSize()

public int CalculateSize()

Returns

int

Clone()

public DateOnlyComponents Clone()

Returns

DateOnlyComponents

Equals(DateOnlyComponents)

public bool Equals(DateOnlyComponents other)

Parameters

other DateOnlyComponents

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(DateOnlyComponents)

public void MergeFrom(DateOnlyComponents other)

Parameters

other DateOnlyComponents

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