net.objectlab.kit.datecalc.joda
Class YearMonthDayKitCalculatorsFactory
java.lang.Object
net.objectlab.kit.datecalc.common.AbstractKitCalculatorsFactory<YearMonthDay>
net.objectlab.kit.datecalc.joda.YearMonthDayKitCalculatorsFactory
- All Implemented Interfaces:
- KitCalculatorsFactory<YearMonthDay>
public class YearMonthDayKitCalculatorsFactory
- extends AbstractKitCalculatorsFactory<YearMonthDay>
The default factory for getting Joda YearMonthDay 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 |
YearMonthDayKitCalculatorsFactory
public YearMonthDayKitCalculatorsFactory()
getDefaultInstance
public static KitCalculatorsFactory<YearMonthDay> getDefaultInstance()
getDateCalculator
public DateCalculator<YearMonthDay> 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
- Throws:
IllegalArgumentException - if name is null
getPeriodCountCalculator
public PeriodCountCalculator<YearMonthDay> getPeriodCountCalculator()
getIMMDateCalculator
public IMMDateCalculator<YearMonthDay> getIMMDateCalculator()
Copyright © 2006-2010 Appendium - Portfolio Financing Platform. All Rights Reserved.