List of usage examples for java.time LocalDate isSupported
@Override public boolean isSupported(TemporalUnit unit)
From source file:Main.java
public static void main(String[] args) { LocalDate a = LocalDate.of(2014, 6, 30); System.out.println(a.isSupported(ChronoUnit.DAYS)); }
From source file:Main.java
public static void main(String[] args) { LocalDate a = LocalDate.of(2014, 6, 30); System.out.println(a.isSupported(ChronoField.DAY_OF_YEAR)); }