java.time.LocalDate.plusWeeks() 方法示例 java.time.LocalDate.plusMonths() 方法示例 java.time.LocalDate.plusYears() 方法示例 java.time.LocalDate.plusWeeks() 方法示例 package com.codingdict; import java.time.LocalDate; public class LocalDateDemo { public static void main(String[] args) { LocalDate date = LocalDate.parse("2017-02-03"); System.out.println(date.plusWeeks(2)); } } java.time.LocalDate.plusMonths() 方法示例 java.time.LocalDate.plusYears() 方法示例