Top Description Fields Constructors Methods
jakarta.persistence.criteria

public Class LocalTimeField<N>

extends Object
implements TemporalField<N, LocalTime>
Class Inheritance
All Implemented Interfaces
jakarta.persistence.criteria.TemporalField
Type Parameters
<N>
the resulting type of the extracted value
Imports
java.time.LocalTime

Each instance represents a type of field which can be extracted from a LocalTime.
Since
3.2

Field Summary

Modifier and TypeField and Description
public static final LocalTimeField<Integer>
HOUR

The hour of the day in 24-hour time, numbered from 0 to 23.

public static final LocalTimeField<Integer>
MINUTE

The minute of the hour, numbered from 0 to 59.

private final String
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

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

HOURback to summary
public static final LocalTimeField<Integer> HOUR

The hour of the day in 24-hour time, numbered from 0 to 23.

MINUTEback to summary
public static final LocalTimeField<Integer> MINUTE

The minute of the hour, numbered from 0 to 59.

nameback to summary
private final String name
SECONDback to summary
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

Constructor Detail

LocalTimeFieldback to summary
private LocalTimeField(String name)

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override