Dear Joda People, Paul and Julen,

Thanks for your comments, it is appreciated.

Steve, thanks for posting announcement to the list.

Paul, I agree with you, this would be a great addition to the Kit.  It is
not explicit on the interface when the last 'holiday' would fall and whether
this may impact a calculation or not.  We have several options to consider,
we can elaborate here a bit if you wish:

Let's think about requirements:
- should the calculation fail and an exception be thrown if the date
calculated is beyond the last holiday?
- May be this could be a setting on the calculator (like
setEnforceHolidayBoundaries(true) or setStrict(true)?
- what if you wanted a simple warning, would the addition of an method
getLastWarning() and isLastCalculationOk be preferable?
- when it comes to combining n Calculators (you are not limited to 1), we
took the easy approach (sorry the XP approach) and created a new set of
holidays based on the combined calculators'  This works nicely but would not
allow the detection of an issue at date calculation-time (it does not
remember that calculator1 had only 2006 and calculator2 up to 2007). But
that could be added as an extra internal attribute during the combination
(we would keep the lowest denominator but only if a calculator had 'some'
holidays, not if it is empty).

What do you think?

Julen,

I'm not too sure I fully understand your requirements to be honest but it
sounds like something Joda would be very able to handle directly.  We tried
to keep the interfaces 'not-too-specific' to any implementation (i.e. JDK or
Joda, we have both).  If you could elaborate a bit and provide a couple of
examples we'd consider it, of course.

Once again, thanks for the feedback, it is appreciated.

Benoit
 
------------------------------
 
Message: 2
Date: Mon, 9 Oct 2006 21:50:12 +0100
From: "Benoit Xhenseval" <[EMAIL PROTECTED]>
Subject: [Joda-interest] [ANN] ObjectLab Kit v1.0.1 - DateCalculators
 for Business and Finance - open source.
To: <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
 
ObjectLab is pleased to announce release 1.0.1 of Objectlab Kit for Java 1.5
 
http://objectlabkit.sourceforge.net
 
The ObjectLab Kit is released under the business friendly Apache License
v2.0.
 
It is available immediately for download via SourceForge or the Maven
Central Repository (both Maven 1 and Maven 2). The homepage has some very
quick examples.
 
The Kit provides Date Calculators and comes in two flavours:
- one based on pure JDK (1.5)
- one based on the excellent Joda-time library (1.3+, still jdk 1.5)
 
This library is now live in a major UK & international Bank (in their Credit
Derivatives department).  The library is small, lightweight and thread-safe.
 

The DateCalculator implementation is useful to any business; the other two
interfaces are more specific to the financial industry.
 
The most common function of a lot of banking or business applications is the
handling of holidays and weekends, a set of standard rules are implemented
to deal with days falling on a holiday. The library does not attempt to
guess the 'holidays', most business will have an official list anyway, but
concentrate on the date manipulation and calculations.
 
What does it provide? Implementation of 3 interfaces
- DateCalculator for all date calculation and handling of weekends or
holidays.
The supported algorithms are: Do Nothing, Move Forward, Move Backward,
Modified Following and Modified Preceeding.  The Calculators are immutable
once created but they can be easily composed to take into account multiple
sets of holidays. The library also supports the calculation of generic tenor
dates (Spot, 1D, 1W, 2M, 3Y, etc)
 
- PeriodCountCalculator for calculating differences between two dates in
days, months or years according to some financial algorithms: ACT/360,
ACT/365, ACT/ACT, CONV/30-360, CONV/30-365_ISDA, CONV/30-360_ISMA
 
- IMMDateCalculator, to calculate the International Money Market dates (IMM
Dates are 3rd Wednesday of March/June/Sept/Dec)
 
This kit is one of the first steps in pushing the Open Source movement up
"the stack" towards business functionalities in the financial industry.
 
ObjectLab is not new to the open-source community having used numerous OS
projects, participated in a few and sponsoring QALab
(http://qalab.sourceforge.net), a tool that keeps track over-time of the
static analysis results from FindBugs, Checkstyle, PMD, Cobertura etc.
 
We would like to thanks our friends and colleagues at XXXX for their help,
reviews and suggestions.
 
Sorry for the long email... 
 
Feel free to pass on to people who may be interested.
 
Enjoy!!
 
Benoit Xhenseval and Marcin Jekot
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to