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

Constructors

DateTimeComponents()

public DateTimeComponents()

DateTimeComponents(DateTimeComponents)

public DateTimeComponents(DateTimeComponents other)

Parameters

other DateTimeComponents

Fields

DayFieldNumber

Field number for the "day" field.

public const int DayFieldNumber = 3

Field Value

int

HoursFieldNumber

Field number for the "hours" field.

public const int HoursFieldNumber = 4

Field Value

int

MillisecondsFieldNumber

Field number for the "milliseconds" field.

public const int MillisecondsFieldNumber = 7

Field Value

int

MinutesFieldNumber

Field number for the "minutes" field.

public const int MinutesFieldNumber = 5

Field Value

int

MonthFieldNumber

Field number for the "month" field.

public const int MonthFieldNumber = 2

Field Value

int

SecondsFieldNumber

Field number for the "seconds" field.

public const int SecondsFieldNumber = 6

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

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

Month

Month of year. Must be in the range [1, 12].

public int Month { get; set; }

Property Value

int

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

int

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 DateTimeComponents Clone()

Returns

DateTimeComponents

Equals(DateTimeComponents)

public bool Equals(DateTimeComponents other)

Parameters

other DateTimeComponents

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(DateTimeComponents)

public void MergeFrom(DateTimeComponents other)

Parameters

other DateTimeComponents

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