Module jakarta.persistence
Package jakarta.persistence.criteria
Interface TemporalField<N,T extends java.time.temporal.Temporal>
-
- Type Parameters:
N- the resulting type of the extracted valueT- the temporal type (date, time, or datetime)
- All Known Implementing Classes:
LocalDateField,LocalDateTimeField,LocalTimeField
public interface TemporalField<N,T extends java.time.temporal.Temporal>Each instance represents a type of field which can be extracted from a date, time, or datetime.- Since:
- 3.2
- See Also:
LocalDateField,LocalTimeField,LocalDateTimeField,CriteriaBuilder.extract(TemporalField, Expression)