Uses of Class
com.opengamma.strata.basics.schedule.SchedulePeriod
-
Packages that use SchedulePeriod Package Description com.opengamma.strata.basics.schedule Basic financial tools for working with date-based schedules.com.opengamma.strata.product.bond Entity objects describing bonds.com.opengamma.strata.product.swap Entity objects describing a swap. -
-
Uses of SchedulePeriod in com.opengamma.strata.basics.schedule
Methods in com.opengamma.strata.basics.schedule that return SchedulePeriod Modifier and Type Method Description SchedulePeriodSchedulePeriod.Builder. build()SchedulePeriodSchedule. getFirstPeriod()Gets the first schedule period.SchedulePeriodSchedule. getLastPeriod()Gets the last schedule period.SchedulePeriodSchedule. getPeriod(int index)Gets a schedule period by index.static SchedulePeriodSchedulePeriod. of(LocalDate startDate, LocalDate endDate)Obtains an instance from two dates.static SchedulePeriodSchedulePeriod. of(LocalDate startDate, LocalDate endDate, LocalDate unadjustedStartDate, LocalDate unadjustedEndDate)Obtains an instance from the adjusted and unadjusted dates.SchedulePeriodSchedulePeriod. toAdjusted(DateAdjuster adjuster)Converts this period to one where the start and end dates are adjusted using the specified adjuster.SchedulePeriodSchedulePeriod. toUnadjusted()Converts this period to one where the start and end dates are set to the unadjusted dates.Methods in com.opengamma.strata.basics.schedule that return types with arguments of type SchedulePeriod Modifier and Type Method Description Class<? extends SchedulePeriod>SchedulePeriod.Meta. beanType()Optional<SchedulePeriod>Schedule. getFinalStub()Gets the final stub if it exists.Optional<SchedulePeriod>Schedule. getInitialStub()Gets the initial stub if it exists.ImmutableList<SchedulePeriod>Schedule. getPeriods()Gets the schedule periods.ImmutableList<SchedulePeriod>Schedule. getRegularPeriods()Gets the regular schedule periods.Pair<Optional<SchedulePeriod>,Optional<SchedulePeriod>>Schedule. getStubs(boolean preferFinal)Gets the stubs if they exist.Pair<Optional<SchedulePeriod>,Optional<SchedulePeriod>>Schedule. getStubs(boolean preferFinal)Gets the stubs if they exist.org.joda.beans.MetaProperty<ImmutableList<SchedulePeriod>>Schedule.Meta. periods()The meta-property for theperiodsproperty.Methods in com.opengamma.strata.basics.schedule with parameters of type SchedulePeriod Modifier and Type Method Description intSchedulePeriod. compareTo(SchedulePeriod other)Compares this period to another by unadjusted start date, then unadjusted end date.static ScheduleSchedule. ofTerm(SchedulePeriod period)Obtains a 'Term' instance based on a single period.Schedule.BuilderSchedule.Builder. periods(SchedulePeriod... periods)Sets theperiodsproperty in the builder from an array of objects.Method parameters in com.opengamma.strata.basics.schedule with type arguments of type SchedulePeriod Modifier and Type Method Description Schedule.BuilderSchedule.Builder. periods(List<SchedulePeriod> periods)Sets the schedule periods. -
Uses of SchedulePeriod in com.opengamma.strata.product.bond
Methods in com.opengamma.strata.product.bond with parameters of type SchedulePeriod Modifier and Type Method Description static KnownAmountBondPaymentPeriodKnownAmountBondPaymentPeriod. of(Payment payment, SchedulePeriod period)Obtains an instance based on a payment and schedule period. -
Uses of SchedulePeriod in com.opengamma.strata.product.swap
Methods in com.opengamma.strata.product.swap that return types with arguments of type SchedulePeriod Modifier and Type Method Description BiFunction<Integer,SchedulePeriod,Optional<FxReset>>FxResetCalculation. resolve(ReferenceData refData)Resolves this adjustment using the specified reference data.Methods in com.opengamma.strata.product.swap with parameters of type SchedulePeriod Modifier and Type Method Description static RateAccrualPeriod.BuilderRateAccrualPeriod. builder(SchedulePeriod period)Returns a builder used to create an instance of the bean, based on a schedule period.static KnownAmountNotionalSwapPaymentPeriodKnownAmountNotionalSwapPaymentPeriod. of(Payment payment, SchedulePeriod period, CurrencyAmount notional)Obtains an instance based on a payment, schedule period and notional.static KnownAmountNotionalSwapPaymentPeriodKnownAmountNotionalSwapPaymentPeriod. of(Payment payment, SchedulePeriod period, CurrencyAmount notional, FxIndexObservation fxResetObservation)Obtains an instance based on a payment, schedule period, notional and FX reset.static KnownAmountSwapPaymentPeriodKnownAmountSwapPaymentPeriod. of(Payment payment, SchedulePeriod period)Obtains an instance based on a payment and schedule period.
-