java.time.LocalDate.plus() 方法示例 java.time.LocalDate.parse() 方法示例 java.time.LocalDate.plus(TemporalAmount amountToAdd) java.time.LocalDate.plus() 方法示例 package com.codingdict; import java.time.LocalDate; import java.time.temporal.ChronoUnit; public class LocalDateDemo { public static void main(String[] args) { LocalDate date = LocalDate.parse("2017-02-03"); LocalDate date1 = date.plus(10, ChronoUnit.DAYS); System.out.println(date1); } } java.time.LocalDate.parse() 方法示例 java.time.LocalDate.plus(TemporalAmount amountToAdd)