Package | Description |
---|---|
net.objectlab.kit.datecalc.common |
This package provides functionalities that are used by both JDK and Joda implementation,
it is not released alone but included in the datecalc-jdk, datecalc-jdk8 or datecalc-joda JARs.
|
net.objectlab.kit.datecalc.jdk |
This package provides a pure JDK implementation of the DateCalculator for both Calendar and Date, it is
released as a standalone datecalc-jdk JAR.
|
net.objectlab.kit.datecalc.jdk8 |
This package implements the DateCalculator interfaces using JDK8
|
net.objectlab.kit.datecalc.joda |
This package implements the DateCalculator interfaces using Joda-time See Joda-time
|
Modifier and Type | Method and Description |
---|---|
static IMMPeriod |
IMMPeriod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IMMPeriod[] |
IMMPeriod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<E> |
IMMDateCalculator.getIMMDates(E start,
E end,
IMMPeriod period)
Returns a list of IMM dates between 2 dates, it will exclude the start
date if it is an IMM date but would include the end date if it is an IMM.
|
protected abstract E |
AbstractIMMDateCalculator.getNextIMMDate(boolean requestNextIMM,
E theStartDate,
IMMPeriod period) |
E |
AbstractIMMDateCalculator.getNextIMMDate(E startDate,
IMMPeriod period) |
E |
IMMDateCalculator.getNextIMMDate(E startDate,
IMMPeriod period)
Given a start date, it will return the next IMM Date based on the
IMMPeriod, even if the start date is an IMM date.
|
E |
AbstractIMMDateCalculator.getPreviousIMMDate(E startDate,
IMMPeriod period) |
E |
IMMDateCalculator.getPreviousIMMDate(E startDate,
IMMPeriod period)
Given a start date, it will return the previous IMM Date based on the
IMMPeriod, even if the start date is an IMM date.
|
Modifier and Type | Method and Description |
---|---|
List<Calendar> |
CalendarIMMDateCalculator.getIMMDates(Calendar start,
Calendar end,
IMMPeriod period)
Returns a list of IMM dates between 2 dates, it will exclude the start
date if it is an IMM date but would include the end date if it is an IMM.
|
List<Date> |
DateIMMDateCalculator.getIMMDates(Date start,
Date end,
IMMPeriod period) |
protected Calendar |
CalendarIMMDateCalculator.getNextIMMDate(boolean requestNextIMM,
Calendar startDate,
IMMPeriod period) |
protected Date |
DateIMMDateCalculator.getNextIMMDate(boolean requestNextIMM,
Date theStartDate,
IMMPeriod period) |
Modifier and Type | Method and Description |
---|---|
List<LocalDate> |
LocalDateIMMDateCalculator.getIMMDates(LocalDate start,
LocalDate end,
IMMPeriod period)
Returns a list of IMM dates between 2 dates, it will exclude the start
date if it is an IMM date but would include the end date if it is an IMM.
|
protected LocalDate |
LocalDateIMMDateCalculator.getNextIMMDate(boolean requestNextIMM,
LocalDate start,
IMMPeriod period) |
Modifier and Type | Method and Description |
---|---|
List<org.joda.time.LocalDate> |
LocalDateIMMDateCalculator.getIMMDates(org.joda.time.LocalDate start,
org.joda.time.LocalDate end,
IMMPeriod period)
Returns a list of IMM dates between 2 dates, it will exclude the start
date if it is an IMM date but would include the end date if it is an IMM.
|
protected org.joda.time.LocalDate |
LocalDateIMMDateCalculator.getNextIMMDate(boolean requestNextIMM,
org.joda.time.LocalDate start,
IMMPeriod period) |
Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.