List of usage examples for java.time LocalTime query
@SuppressWarnings("unchecked") @Override public <R> R query(TemporalQuery<R> query)
From source file:Main.java
public static void main(String[] args) { LocalTime l = LocalTime.now(); LocalTime s = l.query(TemporalQueries.localTime()); System.out.println(s);//from ww w. ja v a 2s . c o m }