ZonedDateTime

public final class ZonedDateTime extends GeneratedMessageV3 implements ZonedDateTimeTemporal, ValidatableMessage, ZonedDateTimeOrBuilder
A date-time with a time-zone in the ISO-8601 calendar system,
such as `2018-06-25T19:22:45+01:00 Europe/Amsterdam`.
Instances of `ZonedDateTime` cannot be ordered by field values, since the chronological order
depends on interpretation of time in different time zones.
Protobuf type spine.time.ZonedDateTime

Types

Link copied to clipboard
public final class Builder extends GeneratedMessageV3.Builder<BuilderType> implements ValidatingBuilder<M>, ZonedDateTimeOrBuilder
A date-time with a time-zone in the ISO-8601 calendar system,
such as `2018-06-25T19:22:45+01:00 Europe/Amsterdam`.
Instances of `ZonedDateTime` cannot be ordered by field values, since the chronological order
depends on interpretation of time in different time zones.
Protobuf type spine.time.ZonedDateTime

Properties

Link copied to clipboard
public final static int DATE_TIME_FIELD_NUMBER
Link copied to clipboard
public final static int ZONE_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
The local date-time.
.spine.time.LocalDateTime date_time = 1 [(.required) = true, (.validate) = true];
Link copied to clipboard
The local date-time.
.spine.time.LocalDateTime date_time = 1 [(.required) = true, (.validate) = true];
Link copied to clipboard
Link copied to clipboard
public final static Descriptors.Descriptor getDescriptor()
Link copied to clipboard
Link copied to clipboard
public int getSerializedSize()
Link copied to clipboard
public final UnknownFieldSet getUnknownFields()
Link copied to clipboard
public ZoneId getZone()
The time-zone.
.spine.time.ZoneId zone = 2 [(.required) = true];
Link copied to clipboard
The time-zone.
.spine.time.ZoneId zone = 2 [(.required) = true];
Link copied to clipboard
public boolean hasDateTime()
The local date-time.
.spine.time.LocalDateTime date_time = 1 [(.required) = true, (.validate) = true];
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public boolean hasZone()
The time-zone.
.spine.time.ZoneId zone = 2 [(.required) = true];
Link copied to clipboard
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Link copied to clipboard
public final boolean isInitialized()
Link copied to clipboard
Link copied to clipboard
protected ZonedDateTime.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Link copied to clipboard
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Link copied to clipboard
public static ZonedDateTime parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Link copied to clipboard
public static ZonedDateTime parseFrom(Array<byte> data)
public static ZonedDateTime parseFrom(ByteString data)
public static ZonedDateTime parseFrom(CodedInputStream input)
public static ZonedDateTime parseFrom(InputStream input)
public static ZonedDateTime parseFrom(ByteBuffer data)
public static ZonedDateTime parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
public static ZonedDateTime parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ZonedDateTime parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ZonedDateTime parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ZonedDateTime parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Link copied to clipboard
public static Parser<ZonedDateTime> 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
Obtains the local date and time.
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
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
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 ZoneId zone()
Obtains the zone of this date/time.