WithTime

public interface WithTime

An object with associated point in time.

Inheritors

Functions

Link copied to clipboard
public Instant instant()
Obtains the associated time point as Instant.
Link copied to clipboard
public boolean isAfter(Timestamp bound)
Verifies if associated time is after the passed point in time.
Link copied to clipboard
public boolean isBefore(Timestamp bound)
Verifies if the associated time is before the passed point in time.
Link copied to clipboard
public boolean isBetween(Timestamp periodStart, Timestamp periodEnd)
Verifies if the associated time point is within the passed period of time.
Link copied to clipboard
Obtains the local date of the instant associated time point}.
Link copied to clipboard
Obtains the local date and time of the instant associated time point}.
Link copied to clipboard
public abstract Timestamp timestamp()
Obtains the point in time associated with the object.