java.time.ZonedDateTime.minus(TemporalAmount amountToSubtract)


java.time.ZonedDateTime.minus(TemporalAmount amountToSubtract)

package com.codingdict;

import java.time.ZonedDateTime;
import java.time.Period;

public class ZonedDateTimeDemo {
   public static void main(String[] args) {

      ZonedDateTime date = ZonedDateTime.parse("2017-03-28T12:25:38.492+05:30[Asia/Calcutta]");
      System.out.println(date.minus(Period.ofDays(2)));  
   }
}