- java.lang.Object
-
- jakarta.persistence.criteria.LocalTimeField<N>
-
- Type Parameters:
N- the resulting type of the extracted value
- All Implemented Interfaces:
TemporalField<N,LocalTime>
public class LocalTimeField<N> extends Object implements TemporalField<N,LocalTime>
Each instance represents a type of field which can be extracted from aLocalTime.- Since:
- 3.2
-
-
Field Summary
Fields Modifier and Type Field Description static LocalTimeField<Integer>HOURThe hour of the day in 24-hour time, numbered from 0 to 23.static LocalTimeField<Integer>MINUTEThe minute of the hour, numbered from 0 to 59.static LocalTimeField<Double>SECONDThe second of the minute, numbered from 0 to 59, including a fractional part representing fractions of a second
-
-
-
Field Detail
-
HOUR
public static final LocalTimeField<Integer> HOUR
The hour of the day in 24-hour time, numbered from 0 to 23.
-
MINUTE
public static final LocalTimeField<Integer> MINUTE
The minute of the hour, numbered from 0 to 59.
-
SECOND
public static final LocalTimeField<Double> SECOND
The second of the minute, numbered from 0 to 59, including a fractional part representing fractions of a second
-
-