java.time包中多处有“调用一次”的注释,例如
public static Year now(Clock clock) { final LocalDate now = LocalDate.now(clock); // called once return Year.of(now.getYear()); }
谁能解释一下这是什么意思?