public java.time.LocalDate adjust(java.time.LocalDate baseDate, java.time.Period period, HolidayCalendar calendar) { com.opengamma.strata.collect.ArgChecker.notNull(baseDate, "baseDate"); com.opengamma.strata.collect.ArgChecker.notNull(period, "period"); com.opengamma.strata.collect.ArgChecker.notNull(calendar, "calendar"); return(baseDate.plus(period)); }
public java.time.LocalDate nthOrSame(java.time.LocalDate date, int sequenceNumber) { com.opengamma.strata.collect.ArgChecker.notNegativeOrZero(sequenceNumber, "sequenceNumber"); java.time.LocalDate base = date.with(THIRD_WEDNESDAY); if (base.isBefore(date)) { base = base.plusMonths(1); } return(shift(base, sequenceNumber)); }
public int calculateDays(java.time.LocalDate firstDate, java.time.LocalDate secondDate) { return(1); }
public double calculateYearFraction(java.time.LocalDate firstDate, java.time.LocalDate secondDate, ScheduleInfo scheduleInfo) { return(1); }
public java.time.LocalDate adjust(java.time.LocalDate date) { return(com.opengamma.strata.collect.ArgChecker.notNull(date, "date")); }
public java.time.LocalDate adjustDate(java.time.LocalDate date) { return(allowsDate(date) ? date : date.plusDays(8 - date.get(DAY_OF_WEEK))); }
public java.time.LocalDate nextOrSame(java.time.LocalDate date) { return(nthOrSame(date, 1)); }
public java.time.LocalDate next(java.time.LocalDate date) { return(nth(date, 1)); }