List of usage examples for java.time YearMonth adjustInto
@Override
public Temporal adjustInto(Temporal temporal)
From source file:Main.java
public static void main(String[] args) { YearMonth y = YearMonth.now(); Temporal s = y.adjustInto(YearMonth.of(1990, Month.JANUARY)); System.out.println(s);// w ww. j ava 2 s. com }