| Package | Description |
|---|---|
| com.opengamma.strata.basics.date |
Tools for working with dates.
|
| com.opengamma.strata.basics.schedule |
Basic financial tools for working with date-based schedules.
|
| Modifier and Type | Method and Description |
|---|---|
default double |
DayCount.relativeYearFraction(LocalDate firstDate,
LocalDate secondDate,
DayCount.ScheduleInfo scheduleInfo)
Gets the relative year fraction between the specified dates.
|
double |
DayCount.yearFraction(LocalDate firstDate,
LocalDate secondDate,
DayCount.ScheduleInfo scheduleInfo)
Gets the year fraction between the specified dates.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Schedule
A complete schedule of periods (date ranges), with both unadjusted and adjusted dates.
|
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.