List of usage examples for java.time LocalTime isSupported
@Override public boolean isSupported(TemporalUnit unit)
From source file:Main.java
public static void main(String[] args) { LocalTime l = LocalTime.now(); System.out.println(l.isSupported(ChronoField.MICRO_OF_SECOND)); }
From source file:Main.java
public static void main(String[] args) { LocalTime l = LocalTime.now(); System.out.println(l.isSupported(ChronoUnit.MINUTES)); }