Package org.threeten.bp.temporal

Examples of org.threeten.bp.temporal.Temporal.minus()


    final TemporalAdjuster adjuster = new TemporalAdjuster() {
      @Override
      public Temporal adjustInto(final Temporal temporal) {
        Temporal adjusted = temporal;
        do {
          adjusted = adjusted.minus(1, ChronoUnit.MONTHS);
        } while (!IMM_MONTHS.contains(Month.from(adjusted)));
        return adjusted;
      }
    };
    return date.with(adjuster);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.