LocalDate

public final class LocalDate extends GeneratedMessageV3 implements LocalDateTemporal, ValidatableMessage, LocalDateOrBuilder
A date without a time-zone.
Use this message for describing a date (e.g. a birthday).
Instances of `LocalDate` can be ordered chronologically.
Protobuf type spine.time.LocalDate

Types

Link copied to clipboard
public final class Builder extends GeneratedMessageV3.Builder<BuilderType> implements ValidatingBuilder<M>, LocalDateOrBuilder
A date without a time-zone.
Use this message for describing a date (e.g. a birthday).
Instances of `LocalDate` can be ordered chronologically.
Protobuf type spine.time.LocalDate

Properties

Link copied to clipboard
public final static int DAY_FIELD_NUMBER
Link copied to clipboard
public final static int MONTH_FIELD_NUMBER
Link copied to clipboard
public final static int YEAR_FIELD_NUMBER

Inherited properties

Link copied to clipboard
protected static boolean alwaysUseFieldBuilders
Link copied to clipboard
protected int memoizedHashCode
Link copied to clipboard
protected int memoizedSize
Link copied to clipboard
protected UnknownFieldSet unknownFields

Functions

Link copied to clipboard
public boolean equals(Object obj)
Link copied to clipboard
public int getDay()
A day which must be from 1 to 31 and valid for the year and month.
int32 day = 3 [(.max) = { ... }
Link copied to clipboard
public static LocalDate getDefaultInstance()
Link copied to clipboard
public final static Descriptors.Descriptor getDescriptor()
Link copied to clipboard
public Month getMonth()
One of 12 Gregorian calendar months specified by `Month`.
.spine.time.Month month = 2 [(.required) = true];
Link copied to clipboard
public int getMonthValue()
One of 12 Gregorian calendar months specified by `Month`.
.spine.time.Month month = 2 [(.required) = true];
Link copied to clipboard
public Parser<LocalDate> getParserForType()
Link copied to clipboard
public int getSerializedSize()
Link copied to clipboard
public final UnknownFieldSet getUnknownFields()
Link copied to clipboard
public int getYear()
A year with `1` being year 1 CE and `-1` being 1 BC.
int32 year = 1;
Link copied to clipboard
public int hashCode()
Link copied to clipboard
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Link copied to clipboard
public final boolean isInitialized()
Link copied to clipboard
public static LocalDate.Builder newBuilder()
public static LocalDate.Builder newBuilder(LocalDate prototype)
Link copied to clipboard
protected LocalDate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Link copied to clipboard
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Link copied to clipboard
public static LocalDate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Link copied to clipboard
public static LocalDate parseFrom(Array<byte> data)
public static LocalDate parseFrom(ByteString data)
public static LocalDate parseFrom(CodedInputStream input)
public static LocalDate parseFrom(InputStream input)
public static LocalDate parseFrom(ByteBuffer data)
public static LocalDate parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
public static LocalDate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LocalDate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LocalDate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LocalDate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Link copied to clipboard
public static Parser<LocalDate> parser()
Link copied to clipboard
Link copied to clipboard
public Optional<ValidationError> validate()
Link copied to clipboard
public void writeTo(CodedOutputStream output)

Inherited functions

Link copied to clipboard
protected static void addAll<T>(Iterable<T> values, Collection<? extends Object> list)
Link copied to clipboard
protected static boolean canUseUnsafe()
Link copied to clipboard
protected static void checkByteStringIsUtf8(ByteString byteString)
Link copied to clipboard
public int compareTo(T other)
public int compareTo(Timestamp other)
public int compareTo(Instant other)
Compares this point in time to the given one.
public abstract int compareTo(T p)
Link copied to clipboard
protected static int computeStringSize(int fieldNumber, Object value)
Link copied to clipboard
protected static int computeStringSizeNoTag(Object value)
Link copied to clipboard
public int day()
Obtains number of the day in month.
Link copied to clipboard
protected static Internal.BooleanList emptyBooleanList()
Link copied to clipboard
protected static Internal.DoubleList emptyDoubleList()
Link copied to clipboard
protected static Internal.FloatList emptyFloatList()
Link copied to clipboard
protected static Internal.IntList emptyIntList()
Link copied to clipboard
protected static Internal.LongList emptyLongList()
Link copied to clipboard
Link copied to clipboard
public Map<Descriptors.FieldDescriptor, Object> getAllFields()
Link copied to clipboard
public abstract MessageLite getDefaultInstanceForType()
Link copied to clipboard
public Descriptors.Descriptor getDescriptorForType()
Link copied to clipboard
public Object getField(Descriptors.FieldDescriptor field)
Link copied to clipboard
public Descriptors.FieldDescriptor getOneofFieldDescriptor(Descriptors.OneofDescriptor oneof)
Link copied to clipboard
public abstract Parser<? extends MessageLite> getParserForType()
Link copied to clipboard
public Object getRepeatedField(Descriptors.FieldDescriptor field, int index)
Link copied to clipboard
public int getRepeatedFieldCount(Descriptors.FieldDescriptor field)
Link copied to clipboard
public boolean hasField(Descriptors.FieldDescriptor field)
Link copied to clipboard
protected static int hashBoolean(boolean b)
Link copied to clipboard
protected static int hashEnum(Internal.EnumLite e)
Link copied to clipboard
protected static int hashEnumList(List<? extends Internal.EnumLite> list)
Link copied to clipboard
protected static int hashFields(int hash, Map<Descriptors.FieldDescriptor, Object> map)
Link copied to clipboard
protected static int hashLong(long n)
Link copied to clipboard
public boolean hasOneof(Descriptors.OneofDescriptor oneof)
Link copied to clipboard
protected MapField internalGetMapField(int fieldNumber)
Link copied to clipboard
public boolean isAfter(T other)
public boolean isAfter(Timestamp other)
public boolean isAfter(Instant other)
Checks if this point is time occurs later than the other one.
Link copied to clipboard
public boolean isAfterOrSameAs(T other)
public boolean isAfterOrSameAs(Timestamp other)
public boolean isAfterOrSameAs(Instant other)
Checks if this point is time occurs later than the other one or they coincide.
Link copied to clipboard
public boolean isBefore(T other)
public boolean isBefore(Timestamp other)
public boolean isBefore(Instant other)
Checks if this point is time occurs earlier than the other one.
Link copied to clipboard
public boolean isBeforeOrSameAs(T other)
public boolean isBeforeOrSameAs(Timestamp other)
public boolean isBeforeOrSameAs(Instant other)
Checks if this point is time occurs earlier than the other one or they coincide.
Link copied to clipboard
public boolean isBetween(T periodStart, T periodEnd)
public boolean isBetween(Timestamp periodStart, Timestamp periodEnd)
public boolean isBetween(Instant periodStart, Instant periodEnd)
Checks if this point is time lies between the given.
Link copied to clipboard
public boolean isEarlierOrSameAs(T other)
Checks if this point is time occurs earlier than the other one or they coincide.
Link copied to clipboard
public boolean isEarlierThan(T other)
Checks if this point is time occurs earlier than the other one.
Link copied to clipboard
public boolean isInFuture()
Checks that this point in time lies in the future.
Link copied to clipboard
public boolean isInPast()
Checks that this point in time lies in the past.
Link copied to clipboard
public boolean isLaterOrSameAs(T other)
Checks if this point is time occurs later than the other one or they coincide.
Link copied to clipboard
public boolean isLaterThan(T other)
Checks if this point is time occurs later than the other one.
Link copied to clipboard
public boolean isSameAs(T other)
public boolean isSameAs(Timestamp other)
public boolean isSameAs(Instant other)
Checks if this point in time coincides with the given one.
Link copied to clipboard
protected static boolean isStringEmpty(Object value)
Link copied to clipboard
protected void makeExtensionsImmutable()
Link copied to clipboard
protected void mergeFromAndMakeImmutableInternal(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Link copied to clipboard
public Month month()
Obtains the month part of this date.
Link copied to clipboard
public int monthNumber()
Obtains a number of the month of this date.
Link copied to clipboard
protected static Internal.BooleanList mutableCopy(Internal.BooleanList list)
protected static Internal.DoubleList mutableCopy(Internal.DoubleList list)
protected static Internal.FloatList mutableCopy(Internal.FloatList list)
protected static Internal.IntList mutableCopy(Internal.IntList list)
protected static Internal.LongList mutableCopy(Internal.LongList list)
Link copied to clipboard
protected static Internal.BooleanList newBooleanList()
Link copied to clipboard
protected static Internal.DoubleList newDoubleList()
Link copied to clipboard
protected static Internal.FloatList newFloatList()
Link copied to clipboard
protected static Internal.IntList newIntList()
Link copied to clipboard
protected static Internal.LongList newLongList()
Link copied to clipboard
protected static M parseDelimitedWithIOException<M extends Message>(Parser<M> parser, InputStream input)
Link copied to clipboard
protected boolean parseUnknownField(CodedInputStream input, UnknownFieldSet.Builder unknownFields, ExtensionRegistryLite extensionRegistry, int tag)
Link copied to clipboard
protected boolean parseUnknownFieldProto3(CodedInputStream input, UnknownFieldSet.Builder unknownFields, ExtensionRegistryLite extensionRegistry, int tag)
Link copied to clipboard
protected static M parseWithIOException<M extends Message>(Parser<M> parser, InputStream input)
Link copied to clipboard
protected static void serializeBooleanMapTo<V>(CodedOutputStream out, MapField<Boolean, V> field, MapEntry<Boolean, V> defaultEntry, int fieldNumber)
Link copied to clipboard
protected static void serializeIntegerMapTo<V>(CodedOutputStream out, MapField<Integer, V> field, MapEntry<Integer, V> defaultEntry, int fieldNumber)
Link copied to clipboard
protected static void serializeLongMapTo<V>(CodedOutputStream out, MapField<Long, V> field, MapEntry<Long, V> defaultEntry, int fieldNumber)
Link copied to clipboard
protected static void serializeStringMapTo<V>(CodedOutputStream out, MapField<String, V> field, MapEntry<String, V> defaultEntry, int fieldNumber)
Link copied to clipboard
public Any toAny()
Packs this message into an Any.
Link copied to clipboard
public Array<byte> toByteArray()
Link copied to clipboard
public ByteString toByteString()
Link copied to clipboard
public Instant toInstant()
Converts this Temporal into a java.time.Instant.
Link copied to clipboard
Converts this date to Java Time instance.
Link copied to clipboard
public final String toString()
Link copied to clipboard
public Timestamp toTimestamp()
Obtains this point in time as a Protobuf Timestamp.
Link copied to clipboard
public void writeDelimitedTo(OutputStream output)
Link copied to clipboard
protected Object writeReplace()
Link copied to clipboard
protected static void writeString(CodedOutputStream output, int fieldNumber, Object value)
Link copied to clipboard
protected static void writeStringNoTag(CodedOutputStream output, Object value)
Link copied to clipboard
public int year()
Obtains the year part of this date.