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>IBufferMessageIMessage
- Inherited Members
Constructors
DateOnlyValue()
public DateOnlyValue()
DateOnlyValue(DateOnlyValue)
public DateOnlyValue(DateOnlyValue other)
Parameters
otherDateOnlyValue
Fields
DateOnlyComponentsFieldNumber
Field number for the "date_only_components" field.
public const int DateOnlyComponentsFieldNumber = 2
Field Value
EpochDaysFieldNumber
Field number for the "epoch_days" field.
public const int EpochDaysFieldNumber = 1
Field Value
Iso8601DateOnlyFormatFieldNumber
Field number for the "iso8601_date_only_format" field.
public const int Iso8601DateOnlyFormatFieldNumber = 3
Field Value
Properties
DateOnlyComponents
public DateOnlyComponents DateOnlyComponents { get; set; }
Property Value
DateOnlyFormatCase
public DateOnlyValue.DateOnlyFormatOneofCase DateOnlyFormatCase { get; }
Property Value
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
HasEpochDays
Gets whether the "epoch_days" field is set
public bool HasEpochDays { get; }
Property Value
HasIso8601DateOnlyFormat
Gets whether the "iso8601_date_only_format" field is set
public bool HasIso8601DateOnlyFormat { get; }
Property Value
Iso8601DateOnlyFormat
public string Iso8601DateOnlyFormat { get; set; }
Property Value
Parser
public static MessageParser<DateOnlyValue> Parser { get; }
Property Value
- MessageParser<DateOnlyValue>
Methods
CalculateSize()
public int CalculateSize()
Returns
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
Equals(DateOnlyValue)
public bool Equals(DateOnlyValue other)
Parameters
otherDateOnlyValue
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(DateOnlyValue)
public void MergeFrom(DateOnlyValue other)
Parameters
otherDateOnlyValue
MergeFrom(CodedInputStream)
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStream