net.objectlab.kit.datecalc.joda
Class LocalDateKitCalculatorsFactory
java.lang.Object
net.objectlab.kit.datecalc.common.AbstractKitCalculatorsFactory<LocalDate>
net.objectlab.kit.datecalc.joda.LocalDateKitCalculatorsFactory
- All Implemented Interfaces:
- KitCalculatorsFactory<LocalDate>
public class LocalDateKitCalculatorsFactory
- extends AbstractKitCalculatorsFactory<LocalDate>
The default factory for getting Joda LocalDate based
calculators.
- Version:
- $Revision: 271 $ $Date: 2009-03-17 13:50:59 -0400 (Tue, 17 Mar 2009) $
- Author:
- Benoit Xhenseval, $LastChangedBy: marchy $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalDateKitCalculatorsFactory
public LocalDateKitCalculatorsFactory()
getDefaultInstance
public static LocalDateKitCalculatorsFactory getDefaultInstance()
getDateCalculator
public LocalDateCalculator getDateCalculator(String name,
String holidayHandlerType)
- Create a new DateCalculator for a given name and type of handling.
- Parameters:
name - calendar name (holidays set interested in). If there is set of
holidays with that name, it will return a DateCalculator with
an empty holiday set (will work on Weekend only).holidayHandlerType - typically one of the value of HolidayHandlerType
- Returns:
- a new DateCalculator
getPeriodCountCalculator
public PeriodCountCalculator<LocalDate> getPeriodCountCalculator()
- Description copied from interface:
KitCalculatorsFactory
- Create a new PeriodCountCalculator.
- Returns:
- a PeriodCountCalculator
getIMMDateCalculator
public IMMDateCalculator<LocalDate> getIMMDateCalculator()
- Description copied from interface:
KitCalculatorsFactory
- Create a new IMMDateCalculator.
- Returns:
- an IMMDateCalculator
Copyright © 2006-2010 Appendium - Portfolio Financing Platform. All Rights Reserved.