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 SchedulePeriod
SchedulePeriod.Builder. build()
SchedulePeriod
Schedule. getFirstPeriod()
Gets the first schedule period.SchedulePeriod
Schedule. getLastPeriod()
Gets the last schedule period.SchedulePeriod
Schedule. getPeriod(int index)
Gets a schedule period by index.static SchedulePeriod
SchedulePeriod. of(LocalDate startDate, LocalDate endDate)
Obtains an instance from two dates.static SchedulePeriod
SchedulePeriod. of(LocalDate startDate, LocalDate endDate, LocalDate unadjustedStartDate, LocalDate unadjustedEndDate)
Obtains an instance from the adjusted and unadjusted dates.SchedulePeriod
SchedulePeriod. toAdjusted(DateAdjuster adjuster)
Converts this period to one where the start and end dates are adjusted using the specified adjuster.SchedulePeriod
SchedulePeriod. 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 theperiods
property.Methods in com.opengamma.strata.basics.schedule with parameters of type SchedulePeriod Modifier and Type Method Description int
SchedulePeriod. compareTo(SchedulePeriod other)
Compares this period to another by unadjusted start date, then unadjusted end date.static Schedule
Schedule. ofTerm(SchedulePeriod period)
Obtains a 'Term' instance based on a single period.Schedule.Builder
Schedule.Builder. periods(SchedulePeriod... periods)
Sets theperiods
property 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.Builder
Schedule.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 KnownAmountBondPaymentPeriod
KnownAmountBondPaymentPeriod. 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.Builder
RateAccrualPeriod. builder(SchedulePeriod period)
Returns a builder used to create an instance of the bean, based on a schedule period.static KnownAmountNotionalSwapPaymentPeriod
KnownAmountNotionalSwapPaymentPeriod. of(Payment payment, SchedulePeriod period, CurrencyAmount notional)
Obtains an instance based on a payment, schedule period and notional.static KnownAmountNotionalSwapPaymentPeriod
KnownAmountNotionalSwapPaymentPeriod. of(Payment payment, SchedulePeriod period, CurrencyAmount notional, FxIndexObservation fxResetObservation)
Obtains an instance based on a payment, schedule period, notional and FX reset.static KnownAmountSwapPaymentPeriod
KnownAmountSwapPaymentPeriod. of(Payment payment, SchedulePeriod period)
Obtains an instance based on a payment and schedule period.
-