java.time.ZonedDateTime.plus() 方法示例 java.time.ZonedDateTime.parse(CharSequence text, DateTimeFormatter formatter) java.time.ZonedDateTime.plus(TemporalAmount amountToAdd) java.time.ZonedDateTime.plus() 方法示例 package com.codingdict; import java.time.ZonedDateTime; import java.time.temporal.ChronoUnit; public class ZonedDateTimeDemo { public static void main(String[] args) { ZonedDateTime date = ZonedDateTime.parse("2017-03-28T12:25:38.492+05:30[Asia/Calcutta]"); ZonedDateTime date1 = date.plus(10, ChronoUnit.DAYS); System.out.println(date1); } } java.time.ZonedDateTime.parse(CharSequence text, DateTimeFormatter formatter) java.time.ZonedDateTime.plus(TemporalAmount amountToAdd)