Class LocalTimeField<N>

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 a LocalTime.
Since:
3.2
  • Field Details

    • 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
  • Method Details