Package-level declarations

This package provides classes for working with date/time objects.

Types

Link copied to clipboard
public enum DayOfWeek implements ProtocolMessageEnum
A day of week.
The int value follows the ISO-8601 standard, from 1 (Monday) to 7 (Sunday).
Protobuf enum spine.time.DayOfWeek
Link copied to clipboard
public final class DaysOfWeek
Utilities for working with DayOfWeek instances.
Link copied to clipboard
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
Link copied to clipboard
public final class LocalDateChange extends GeneratedMessageV3 implements ValidatableMessage, LocalDateChangeOrBuilder
Definition of a change of `LocalDate` fields.
Protobuf type spine.time.LocalDateChange
Link copied to clipboard
public interface LocalDateChangeOrBuilder implements MessageOrBuilder
Link copied to clipboard
public interface LocalDateOrBuilder implements MessageOrBuilder
Link copied to clipboard
public final class LocalDates
Utilities for working with LocalDate.
Link copied to clipboard
public final class LocalDateTime extends GeneratedMessageV3 implements LocalDateTimeTemporal, ValidatableMessage, LocalDateTimeOrBuilder
A date-time without a time-zone.
Instances of `LocalDateTime` can be ordered chronologically.
Protobuf type spine.time.LocalDateTime
Link copied to clipboard
public interface LocalDateTimeOrBuilder implements MessageOrBuilder
Link copied to clipboard
public final class LocalDateTimes
Utilities for working with LocalDateTime.
Link copied to clipboard
public final class LocalTime extends GeneratedMessageV3 implements LocalTimeMixin, ValidatableMessage, LocalTimeOrBuilder
A time without a time-zone.
It is a description of a time, not an instant on a time-line.
Instances of `LocalTime` can be ordered chronologically.
Protobuf type spine.time.LocalTime
Link copied to clipboard
public final class LocalTimeChange extends GeneratedMessageV3 implements ValidatableMessage, LocalTimeChangeOrBuilder
Definition of a change of `LocalTime` fields.
Protobuf type spine.time.LocalTimeChange
Link copied to clipboard
public interface LocalTimeChangeOrBuilder implements MessageOrBuilder
Link copied to clipboard
public interface LocalTimeOrBuilder implements MessageOrBuilder
Link copied to clipboard
public final class LocalTimes
Routines for working with LocalTime.
Link copied to clipboard
public enum Month implements ProtocolMessageEnum
Enum representing the 12 months of the year.
Protobuf enum spine.time.Month
Link copied to clipboard
public final class Months
Utilities for working with calendar months.
Link copied to clipboard
public final class Now
The current time.
Link copied to clipboard
public final class OffsetDateTime extends GeneratedMessageV3 implements OffsetDateTimeTemporal, ValidatableMessage, OffsetDateTimeOrBuilder
A date-time with an offset from UTC.
Protobuf type spine.time.OffsetDateTime
Link copied to clipboard
public final class OffsetDateTimeChange extends GeneratedMessageV3 implements ValidatableMessage, OffsetDateTimeChangeOrBuilder
Definition of a change of `OffsetDateTime` fields.
Protobuf type spine.time.OffsetDateTimeChange
Link copied to clipboard
public interface OffsetDateTimeChangeOrBuilder implements MessageOrBuilder
Link copied to clipboard
public interface OffsetDateTimeOrBuilder implements MessageOrBuilder
Link copied to clipboard
public final class OffsetDateTimes
Routines for working with io.spine.time.OffsetDateTime.
Link copied to clipboard
public final class OffsetTime extends GeneratedMessageV3 implements ValidatableMessage, OffsetTimeOrBuilder
A time with an offset from UTC.
Protobuf type spine.time.OffsetTime
Link copied to clipboard
public final class OffsetTimeChange extends GeneratedMessageV3 implements ValidatableMessage, OffsetTimeChangeOrBuilder
Definition of a change of `OffsetTime` fields.
Protobuf type spine.time.OffsetTimeChange
Link copied to clipboard
public interface OffsetTimeChangeOrBuilder implements MessageOrBuilder
Link copied to clipboard
public interface OffsetTimeOrBuilder implements MessageOrBuilder
Link copied to clipboard
public final class OffsetTimes
Routines for working with OffsetTime.
Link copied to clipboard
public interface Temporal<T extends Temporal<T>> implements Comparable<T>
A point in time represented with a certain accuracy.
Link copied to clipboard
public final class TimeChangeProto
Link copied to clipboard
public final class TimeChanges
Utility class for working with date-time changes.
Link copied to clipboard
public final class TimeProto
Link copied to clipboard
public final class YearMonth extends GeneratedMessageV3 implements YearMonthTemporal, ValidatableMessage, YearMonthOrBuilder
A combination of year and month in the ISO-8601 calendar system, such as `2018-06`.
The purpose of this type is to store values like "June 2018".
Instances of `YearMonth` can be ordered chronologically.
Protobuf type spine.time.YearMonth
Link copied to clipboard
public interface YearMonthOrBuilder implements MessageOrBuilder
Link copied to clipboard
public final class YearMonths
Utilities for working with YearMonth values.
Link copied to clipboard
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
Link copied to clipboard
public interface ZonedDateTimeOrBuilder implements MessageOrBuilder
Link copied to clipboard
public final class ZonedDateTimes
Utilities for working with ZonedDateTime.
Link copied to clipboard
public final class ZoneId extends GeneratedMessageV3 implements ZoneIdMixin, ValidatableMessage, ZoneIdOrBuilder
An ID of a time-zone, such as `Europe/Amsterdam`.
Protobuf type spine.time.ZoneId
Link copied to clipboard
public interface ZoneIdOrBuilder implements MessageOrBuilder
Link copied to clipboard
public final class ZoneIds
Utilities for working with ZoneId.
Link copied to clipboard
public final class ZoneOffset extends GeneratedMessageV3 implements ValidatableMessage, ZoneOffsetOrBuilder
A time-zone offset from UTC, such as `+02:00`.
Protobuf type spine.time.ZoneOffset
Link copied to clipboard
public interface ZoneOffsetOrBuilder implements MessageOrBuilder
Link copied to clipboard
public final class ZoneOffsets
Utilities for working with ZoneOffsets.