Package io.islandtime.base

Experimental Framework-level interfaces, allowing aspects of date, time, and duration to be abstracted. This area is unstable and likely to see significant change.

Types

DateTimeField
Link copied to clipboard
common

A field describing a property of a date, time, or measurement of time.

These are intended to be used primarily during parsing and formatting. Each date-time primitive is capable of resolving or supplying the set of fields that are applicable to it.

enum DateTimeField : Enum<DateTimeField>
TimePoint
Link copied to clipboard
common

An object that can be placed exactly in time.

An implementor of this interface contains enough information to represent an instant in time. As such, any time point can be compared to another on the timeline and duration units can be added or subtracted.

interface TimePoint<T>