Class DateOnlyValue

Namespace
EsriPBuffer.Graph
Assembly
ESRI.Server.SOESupport.dll
public sealed class DateOnlyValue : IMessage<DateOnlyValue>, IEquatable<DateOnlyValue>, IDeepCloneable<DateOnlyValue>, IBufferMessage, IMessage
Inheritance
DateOnlyValue
Implements
IMessage<DateOnlyValue>
IDeepCloneable<DateOnlyValue>
IBufferMessage
IMessage
Inherited Members

Constructors

DateOnlyValue()

public DateOnlyValue()

DateOnlyValue(DateOnlyValue)

public DateOnlyValue(DateOnlyValue other)

Parameters

other DateOnlyValue

Fields

DateOnlyComponentsFieldNumber

Field number for the "date_only_components" field.

public const int DateOnlyComponentsFieldNumber = 2

Field Value

int

EpochDaysFieldNumber

Field number for the "epoch_days" field.

public const int EpochDaysFieldNumber = 1

Field Value

int

Iso8601DateOnlyFormatFieldNumber

Field number for the "iso8601_date_only_format" field.

public const int Iso8601DateOnlyFormatFieldNumber = 3

Field Value

int

Properties

DateOnlyComponents

public DateOnlyComponents DateOnlyComponents { get; set; }

Property Value

DateOnlyComponents

DateOnlyFormatCase

public DateOnlyValue.DateOnlyFormatOneofCase DateOnlyFormatCase { get; }

Property Value

DateOnlyValue.DateOnlyFormatOneofCase

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

EpochDays

Days since UNIX epoch. The epoch_days values are restricted from 0000-01-01 (-719528) to 9999-12-31 (2932896) to support conversion to and from ISO 8601 Date strings.

public int EpochDays { get; set; }

Property Value

int

HasEpochDays

Gets whether the "epoch_days" field is set

public bool HasEpochDays { get; }

Property Value

bool

HasIso8601DateOnlyFormat

Gets whether the "iso8601_date_only_format" field is set

public bool HasIso8601DateOnlyFormat { get; }

Property Value

bool

Iso8601DateOnlyFormat

public string Iso8601DateOnlyFormat { get; set; }

Property Value

string

Parser

public static MessageParser<DateOnlyValue> Parser { get; }

Property Value

MessageParser<DateOnlyValue>

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearDateOnlyFormat()

public void ClearDateOnlyFormat()

ClearEpochDays()

Clears the value of the oneof if it's currently set to "epoch_days"

public void ClearEpochDays()

ClearIso8601DateOnlyFormat()

Clears the value of the oneof if it's currently set to "iso8601_date_only_format"

public void ClearIso8601DateOnlyFormat()

Clone()

public DateOnlyValue Clone()

Returns

DateOnlyValue

Equals(DateOnlyValue)

public bool Equals(DateOnlyValue other)

Parameters

other DateOnlyValue

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(DateOnlyValue)

public void MergeFrom(DateOnlyValue other)

Parameters

other DateOnlyValue

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