List of usage examples for java.time YearMonth with
@Override
public YearMonth with(TemporalAdjuster adjuster)
From source file:Main.java
public static void main(String[] args) { YearMonth y = YearMonth.now(); YearMonth s = y.with(YearMonth.of(2013, 01)); System.out.println(s);/*from www . jav a 2s .c om*/ }