You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(49) |
Sep
(134) |
Oct
(33) |
Nov
(18) |
Dec
(51) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(50) |
Feb
(32) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
(9) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
(1) |
Feb
(4) |
Mar
(8) |
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2010 |
Jan
(1) |
Feb
|
Mar
(54) |
Apr
(21) |
May
(13) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(9) |
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(13) |
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Google A. <goo...@go...> - 2006-12-02 04:27:41
|
links for 2006-12-01 By Lars Trieloff StatSVN - Repository Statistics - Introduction. (tags: java subversion software version web statistics) <http://weblogs.goshaky.com/weblogs/page/lars?entry=links_for_2006_12_01> Lars Trieloff's Software Documentati... <http://weblogs.goshaky.com/weblogs/page/lars> Index of /pub/mirrors/maven/net.sf.statsvn Index of /pub/mirrors/maven/net.sf.statsvn. Icon Name Last modified Size Description. [DIR] Parent Directory - [DIR] jars/ 29-Nov-2006 14:55 - [DIR] ... <http://mirrors.ibiblio.org/pub/mirrors/maven/net.sf.statsvn/> This once a day Google Alert is brought to you by Google... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove this Google Alert: http://www.google.com/alerts/remove?s=EAAAAIq3Ab5rO6vaPuJbzfH1NiU&hl=en Create another Google Alert: http://www.google.com/alerts?hl=en Sign in to manage your alerts: http://www.google.com/alerts/manage?hl=en |
|
From: Google A. <goo...@go...> - 2006-12-02 04:27:39
|
Pages tagged with "SWT" on del.icio.us JTreeMap is a Java Swing (SWT) component which represents hierarchical structure in a Treemap. This is treemapping. A tree structure may includes more or ... <http://del.icio.us/tag/SWT> This once a day Google Alert is brought to you by Google... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove this Google Alert: http://www.google.com/alerts/remove?s=EAAAADRvBmo81mJEkqrN8FH9fyQ&hl=en Create another Google Alert: http://www.google.com/alerts?hl=en Sign in to manage your alerts: http://www.google.com/alerts/manage?hl=en |
|
From: Google A. <goo...@go...> - 2006-12-01 04:28:27
|
QALab 1.0 ObjectLab has announced the release of version 1.0 of QALab for Java 1.4+. They write in, This release specifically targets: Maven 2 support with fully ... <http://today.java.net/pub/n/5284> FindBugs - SWiK FindBugs is a program that looks for bugs in Java code. FindBugs requires JRE (or JDK) 1.4.0 or ... QALab - Statistics for your Build - QALab - Introduction ... <http://swik.net/FindBugs> Sun Java, J2EE - News and Articles A portfolio of websites rich in Sun Java News, J2EE News, Java Articles, Java Blogs, Java Groups and ... >QALab 1.0 released for Ant, Maven 1 and Maven 2 ... <http://javarss.com/> This once a day Google Alert is brought to you by Google... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove this Google Alert: http://www.google.com/alerts/remove?s=EAAAAAz0YKI0rBHPBhe0kdarm0g&hl=en Create another Google Alert: http://www.google.com/alerts?hl=en Sign in to manage your alerts: http://www.google.com/alerts/manage?hl=en |
|
From: Google A. <goo...@go...> - 2006-12-01 03:42:46
|
NewsForge | StatSVN v0.2.0 released today, supports HTML/XDOC StatSVN v0.2.0 released today, supports HTML/XDOC -- article related to Free Software and NewsVac. <http://newsvac.newsforge.com/article.pl?sid=06/11/29/1321234&from=rss> StatSVN - Repository Statistics Version 0.2.0 is out and now supports Html and XDoc generation to ease integration with Maven. <http://www.dzone.com/rsslinks/statsvn_repository_statistics.html> StatSVN and ObjectLab released v0.2.0 ... The StatSVN Team and ObjectLab are proud to announce v0.2.0 of StatSVN ... StatSVN is open source software, released under the terms of the LGPL, ... <http://www.javalobby.org/java/forums/t85202.html> This once a day Google Alert is brought to you by Google... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove this Google Alert: http://www.google.com/alerts/remove?s=EAAAAIq3Ab5rO6vaPuJbzfH1NiU&hl=en Create another Google Alert: http://www.google.com/alerts?hl=en Sign in to manage your alerts: http://www.google.com/alerts/manage?hl=en |
|
From: Google A. <goo...@go...> - 2006-12-01 00:41:06
|
Nabble - [ANN] StatSVN 0.2.0 released as well as a Maven 2 plugin ... ObjectLab Kit (http://objectlabkit.sourceforge.net), a date calculation toolkit for business and finance; - JTreeMap (http://jtreemap.sourceforge.net) the ... <http://www.nabble.com/-ANN--StatSVN-0.2.0-released-as-well-as-a-Maven-2-plugin-for-it.-t2722222s177.html> This once a day Google Alert is brought to you by Google... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove this Google Alert: http://www.google.com/alerts/remove?s=EAAAAIfnd2Id1jfwipBB4CiM3Aw&hl=en Create another Google Alert: http://www.google.com/alerts?hl=en Sign in to manage your alerts: http://www.google.com/alerts/manage?hl=en |
|
From: Google A. <goo...@go...> - 2006-11-30 04:27:41
|
QALab 1.0 released for Ant, Maven 1 and ... JTreeMap (http://jtreemap.sourceforge.net) the only open source heatmap library for Java . - StatSvn (http://www.statsvn.org) Subversion repository ... <http://www.javalobby.org/java/forums/t85094.html> This once a day Google Alert is brought to you by Google... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove this Google Alert: http://www.google.com/alerts/remove?s=EAAAADRvBmo81mJEkqrN8FH9fyQ&hl=en Create another Google Alert: http://www.google.com/alerts?hl=en Sign in to manage your alerts: http://www.google.com/alerts/manage?hl=en |
|
From: Google A. <goo...@go...> - 2006-11-30 04:27:40
|
Pages tagged with "java" on del.icio.us QALab - Statistics for your Build - QALab - Introduction · save this. by jnelas to @later java cruisecontrol ant ci ... saved by 22 other people ... just ... <http://del.icio.us/tag/java> QALab - Statistics for your Code. ObjectLab is proud to announce release 1.0 of QALab for Java 1.4+. QALab collects and consolidates data from several QA tools, like PMD, Checkstyle, ... <http://www.dzone.com/rsslinks/qalab_statistics_for_your_code.html> Re: [M1] QALab 0.9.1 and Maven plugin released doTag(IncludeTag.java:101) [...more...] ========== Dependencies: (declared in this order) <!-- As required by QALab: --> <artifactId>ant</artifactId> ... <http://www.mail-archive.com/us...@ma.../msg54279.html> This once a day Google Alert is brought to you by Google... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove this Google Alert: http://www.google.com/alerts/remove?s=EAAAAAz0YKI0rBHPBhe0kdarm0g&hl=en Create another Google Alert: http://www.google.com/alerts?hl=en Sign in to manage your alerts: http://www.google.com/alerts/manage?hl=en |
|
From: Google A. <goo...@go...> - 2006-11-30 03:56:59
|
StatSVN 0.2.0 By er...@th... (Erik C. Thauvin) StatSVN 2.0. <http://erik.thauvin.net/linkblog/?date=2006-11-29#27347> Erik's Linkblog: Popular Links <http://erik.thauvin.net/linkblog/popular.jsp> StatSVN and ObjectLab released v0.2.0 of StatSVN for Subversion The StatSVN Team and ObjectLab are proud to announce v0.2.0 of StatSVN. See http://www.statsvn.org If you want to know what happened in your Subversion repository, this is the tool for you! <http://www.javacrawl.com/clickToItem.action?itemID=2407990&source=rss> Latest Java News Articles <http://www.javacrawl.com/> whitepaper on statsvn design of StatSVN is based on the design of the open source ... design decisions made for StatSVN are explained and the new ... <http://www.softwareengineering.ca/statsvn/CSI5140_StatSVN.pdf> Subversion Dev: StatSvn - useful tool for Subversion (fwd) StatSvn.org"www.StatSvn.org is an open source project on that subject: StatSVN retrieves information from a Subversion repository ... <http://svn.haxx.se/dev/archive-2006-11/0593.shtml> Nabble - StatSvn - useful tool for Subversion (fwd) StatSvn - useful tool for Subversion (fwd). I think this email was intended for this list instead... Brian ---------- Forwarded message... <http://www.nabble.com/StatSvn---useful-tool-for-Subversion-(fwd)-t2715738.html> This once a day Google Alert is brought to you by Google... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove this Google Alert: http://www.google.com/alerts/remove?s=EAAAAIq3Ab5rO6vaPuJbzfH1NiU&hl=en Create another Google Alert: http://www.google.com/alerts?hl=en Sign in to manage your alerts: http://www.google.com/alerts/manage?hl=en |
|
From: Google A. <goo...@go...> - 2006-11-29 05:05:58
|
QALab 1.0 released for Ant, Maven 1 and Maven 2 ObjectLab Kit, a date calculation toolkit for business and finance;; JTreeMap, the only open source heatmap library for Java. ... <http://www.theserverside.com/news/thread.tss?thread_id=43248> This once a day Google Alert is brought to you by Google... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove this Google Alert: http://www.google.com/alerts/remove?s=EAAAADRvBmo81mJEkqrN8FH9fyQ&hl=en Create another Google Alert: http://www.google.com/alerts?hl=en Sign in to manage your alerts: http://www.google.com/alerts/manage?hl=en |
|
From: Google A. <goo...@go...> - 2006-11-29 03:41:36
|
StatSvn: Development Statistics from your Subversion Repository By mailbuzzs Heresa very good article that describes the growing tendency of eating edible food collected in dumpsters. The people doing it nowadays often could afford to buy it but prefer this method to avoid these to be wasted. ... <http://www.engagementplatinumring.info/memorial-jewelry/statsvn-development-statistics-from-your-subversion-repository/552/> Engagement Platinum Ring <http://www.engagementplatinumring.info> Interview with Woz from the BBC By mailbuzzs The StatSvn team and ObjectLab are pleased to announce release 0.2.0 of StatSvn, a tool that produces charts and reports such as the lines of code over time, per module and per developer. This release includes Html and Xdoc generation ... <http://www.actingjob.info/acting-camp/interview-with-woz-from-the-bbc/578/> Acting Job <http://www.actingjob.info> ASP.NET Blogs NET http://weblogs.asp.net/astopford/archive/2006/11/25/statsvn.aspx Sat, 25 Nov 2006 00:32:00 GMT c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:1038719 ... <http://weblogs.asp.net/MainFeed.aspx> statsvn Coming soon... ;) SourceForge.net. <http://statsvn.sourceforge.net/> This once a day Google Alert is brought to you by Google... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove this Google Alert: http://www.google.com/alerts/remove?s=EAAAAIq3Ab5rO6vaPuJbzfH1NiU&hl=en Create another Google Alert: http://www.google.com/alerts?hl=en Sign in to manage your alerts: http://www.google.com/alerts/manage?hl=en |
|
From: Google A. <goo...@go...> - 2006-11-29 02:13:34
|
Nabble - [ANN] QALab 1.0 plugin available for Maven 2, Maven 1 and Ant ObjectLab Kit (http://objectlabkit.sourceforge.net), a date calculation toolkit for business and finance; - JTreeMap (http://jtreemap.sourceforge.net) the ... <http://www.nabble.com/-ANN--QALab-1.0-plugin-available-for-Maven-2,-Maven-1-and-Ant-t2712676s177.html> This once a day Google Alert is brought to you by Google... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove this Google Alert: http://www.google.com/alerts/remove?s=EAAAAIfnd2Id1jfwipBB4CiM3Aw&hl=en Create another Google Alert: http://www.google.com/alerts?hl=en Sign in to manage your alerts: http://www.google.com/alerts/manage?hl=en |
|
From: Google A. <goo...@go...> - 2006-11-28 05:13:50
|
SourceForge.net: Files JTreeMap is a Swing Component which represents a tree structure with rectangles (a ... View older releases from the jtreemap package ». jtreemap java 1.4 ... <http://sourceforge.net/project/showfiles.php?group_id=26527> Blogmarks.net : Public marks from user solveig_vidal with tag ... What is JTreeMap ? JTreeMap is a Java Swing component which reprensents hierarchical structure in a Treemap. A tree structure may includes more or less ... <http://www.blogmarks.net/user/solveig_vidal/marks/tag/opensource> [#MOJO-552] Simian Plugin should also support XML output - jira ... <block sourceFile="C:\project\jtreemap\JTreeMap\src\main\java\net\sf\jtreemap\ swing\example\JTreeMapAppletExample.java" startLineNumber="247" ... <http://jira.codehaus.org/browse/MOJO-552> JavaWorld Forums: JTreeMap : a open source swing component + Java Standard Edition ... JTreeMap : a open source swing component #22721 - 10/14/05 06:57 AM ... http://sourceforge.net/projects/jtreemap ... <http://www.javaworld.com/javaforums/showflat.php?Cat=2&Number=22721&Main=22721> Treemapping - Wikipedia, the free encyclopedia NET TreeMap control; An open-source Java treemap · JTreeMap, another open-source Java treemap (Swing & SWT) · Treemap tool by Macrofocus A very easy to use ... <http://en.wikipedia.org/wiki/Treemapping> information visualization software JTreeMap is a Java Swing component which reprensents hierarchical structure in a Treemap. http://jtreemap.sourceforge.net/ ... <http://iv.homeunix.org/software.php> Java Make Your Java Data More Useful with Treemap Visualization Use JTreemap to create your own Java Treemap application and render any data you like. Full Article: Click to Read This Article ... <http://java.ittoolbox.com/documents/industry-articles/make-your-java-data-more-useful-with-treemap-visualization-2685> Philotic Tech Blog Use JTreemap to create your own Java Treemap application and render any data you like. Visualization is all about taking data and turning it into useful ... <http://www.philotic.com/blog/?m=200309> Make Your Java Data More Useful with Treemap Visualization But what happens when you've got more data points than a pie chart can render? Enter the treemap! Use JTreemap to create your own Java Treemap application ... <http://www.devx.com/xml/Article/17361/1954?pf=true> JTreeMap Home The first release of jTreeMap ! Fix bugs. download New release 1.0 Beta3 java 1.4 compatible - 10/05/2006 - A JTreeMap package compatible with Java 1.4 ... <http://jtreemap.sourceforge.net/> java.net This is where Java[TM] technology collaboration happens. java.net is a new ... shows examples of tree maps before introducing you to the JTreemap project. ... <http://today.java.net/today/archive/index_10162003.html> This once a day Google Alert is brought to you by Google... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove this Google Alert: http://www.google.com/alerts/remove?s=EAAAADRvBmo81mJEkqrN8FH9fyQ&hl=en Create another Google Alert: http://www.google.com/alerts?hl=en Sign in to manage your alerts: http://www.google.com/alerts/manage?hl=en |
|
From: Google A. <goo...@go...> - 2006-11-28 05:13:50
|
Checkstyle - Checkstyle 4.2 Checkstyle is a development tool to help programmers write Java code that adheres ... QALab, Benoit Xhenseval, QALab Home Page, Supports tracking Checkstyle ... <http://checkstyle.sourceforge.net/> del.icio.us/espencer link8 link9 link10 link11 link12 link13 ... ... Java.net maven repository https://maven-repository.dev.java.net/ espencer 2006-08-28T14:24:06Z java link117 link118 QALab - Introduction - QALab ... <http://del.icio.us/rss/espencer> gmane.comp.java.findbugs.announce From: David Hovemeyer <daveho <at> cs.umd.edu> Subject: [ANN] QALab 0.7.1 Newsgroups: gmane.comp.java.findbugs.announce Date: 2005-07-12 14:37:25 GMT ... <http://comments.gmane.org/gmane.comp.java.findbugs.announce/13> 4.0.0 net.objectlab qalab QALab Stats for Builds 0.9.1 This ... 4.0.0 net.objectlab qalab QALab Stats for Builds 0.9.1 This project collects ... Paramjit Rehinsi qalab at objectlab dot co dot uk link11 ObjectLab Ltd Java ... <http://www.ibiblio.org/maven/net.objectlab/poms/qalab-0.9.1.pom> qa - SWiK MantisConnect for Java - Client API and Eclipse Add-on · Eclipse: del.icio.us/tag/eclipse ... QALab - Statistics for your Build - QALab - Introduction ... <http://swik.net/qa+Java> QALab - Statistics for your Build - File Sizes and File Counts qalab.xml, 2845. src/net/sf/statcvs/util/SvnInfoUtils.java, 526. etc/LICENSE, 504. src/net/sf/statcvs/output/ConfigurationOptions.java, 402 ... <http://www.objectlab.co.uk/statsvn/statsvn/file_sizes.html> [FB-Announce] [ANN] QALab 0.7.1 -The qalab team <shamelessPlug> ObjectLab Ltd, a City based consultancy with over 9 years experience in Java is able to help you to integrate a ... <http://mailman.cs.umd.edu/pipermail/findbugs-announce/2005-July/000034.html> QALab - Statistics for your Build - yDoc Report Standard Doclet version 1.5.0_07 Building tree for all the packages and classes... src\net\sf\statsvn\Main.java:205: warning - @param argument ... <http://www.objectlab.co.uk/statsvn/ydoc.html> SourceForge.net: qalab-develop qalab/src/main/java/net/objectlab/qalab/parser BuildStatForChartParser.java, 1.17, 1.18 FileStats.java, 1.16, 1.17 BuildStatMoverHandler.java, 1.15, 1.16 ... <http://sourceforge.net/mailarchive/forum.php?forum_id=46357> jira.codehaus.org - [#MPARTIFACT-72] m1.1-rc1 Creating an upload ... java:jar-resources:. test:test: [echo] No tests to run. jar:jar:. [mkdir] Created dir: C:\project\qalab\maven-qalab-plugin\target\bundle ... <http://jira.codehaus.org/browse/MPARTIFACT-72?decorator=printable> Mailing list archives IncludeTag.doTag(IncludeTag.java:101) >> [...more...] >> >> ========== >> Dependencies: (declared in this order) >> >> <!-- As required by QALab: ... <http://mail-archives.apache.org/mod_mbox/maven-users/200611.mbox/%3C7...@ta...%3E> toolip's bookmarks on del.icio.us QALab - Statistics for your Build - QALab - Introduction · save this. to qalab pmd stylechecking java ... saved by 44 other people ... 2 days ago ... <http://del.icio.us/toolip> QALab - Statistics for your Build - yDoc Report Standard Doclet version 1.5.0_07 Building tree for all the packages and classes... src\main\java\net\objectlab\qalab\exporter\ConsoleExporter.java:69: ... <http://qalab.sourceforge.net/ydoc.html> qalab.xml does not exist. 22 more Caused by: java.io.FileNotFoundException: C:\viewstore\npi_tactical_dev\NPI_Provider\qalab.xml does not exist. at net.objectlab.qalab.m2.util.Utils. ... <http://www.mail-archive.com/us...@ma.../msg53681.html> This once a day Google Alert is brought to you by Google... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove this Google Alert: http://www.google.com/alerts/remove?s=EAAAAAz0YKI0rBHPBhe0kdarm0g&hl=en Create another Google Alert: http://www.google.com/alerts?hl=en Sign in to manage your alerts: http://www.google.com/alerts/manage?hl=en |
|
From: <ma...@us...> - 2006-11-24 16:02:47
|
Revision: 224
http://svn.sourceforge.net/objectlabkit/?rev=224&view=rev
Author: marchy
Date: 2006-11-24 08:02:47 -0800 (Fri, 24 Nov 2006)
Log Message:
-----------
removed unused import
Modified Paths:
--------------
trunk/datecalc-jdk/src/test/java/net/objectlab/kit/datecalc/jdk/JdkDateForwardDateCalculatorTest.java
Modified: trunk/datecalc-jdk/src/test/java/net/objectlab/kit/datecalc/jdk/JdkDateForwardDateCalculatorTest.java
===================================================================
--- trunk/datecalc-jdk/src/test/java/net/objectlab/kit/datecalc/jdk/JdkDateForwardDateCalculatorTest.java 2006-11-23 12:37:41 UTC (rev 223)
+++ trunk/datecalc-jdk/src/test/java/net/objectlab/kit/datecalc/jdk/JdkDateForwardDateCalculatorTest.java 2006-11-24 16:02:47 UTC (rev 224)
@@ -32,7 +32,6 @@
*/
package net.objectlab.kit.datecalc.jdk;
-import net.objectlab.kit.datecalc.common.AbstractForwardDateCalculatorTest;
import net.objectlab.kit.datecalc.common.AbstractForwardUnlessNegativeCalculatorTest;
import net.objectlab.kit.datecalc.common.KitCalculatorsFactory;
import net.objectlab.kit.datecalc.common.Utils;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <be...@us...> - 2006-11-23 12:37:42
|
Revision: 223
http://svn.sourceforge.net/objectlabkit/?rev=223&view=rev
Author: benoitx
Date: 2006-11-23 04:37:41 -0800 (Thu, 23 Nov 2006)
Log Message:
-----------
[Bug 1601540]Added StandardTenor.T_2D thanks to Anthony Whitford for mentioning it.
Modified Paths:
--------------
trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/StandardTenor.java
trunk/src/site/changes.xml
Modified: trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/StandardTenor.java
===================================================================
--- trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/StandardTenor.java 2006-11-23 12:31:20 UTC (rev 222)
+++ trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/StandardTenor.java 2006-11-23 12:37:41 UTC (rev 223)
@@ -50,6 +50,8 @@
public static final Tenor T_1D = new Tenor(1, TenorCode.DAY);
+ public static final Tenor T_2D = new Tenor(2, TenorCode.DAY);
+
public static final Tenor T_1W = new Tenor(1, TenorCode.WEEK);
public static final Tenor T_1M = new Tenor(1, TenorCode.MONTH);
Modified: trunk/src/site/changes.xml
===================================================================
--- trunk/src/site/changes.xml 2006-11-23 12:31:20 UTC (rev 222)
+++ trunk/src/site/changes.xml 2006-11-23 12:37:41 UTC (rev 223)
@@ -9,6 +9,7 @@
</properties>
<body>
<release version="1.1.0" date="in SVN" description="Maintenance">
+ <action dev="benoitx" type="add" issue="1601540" due-to="Anthony Whitford">Added a standard Tenor 2D.</action>
<action dev="benoitx" type="fix" issue="1601542" due-to="Anthony Whitford">Spelling mistake in the code,
sorry for breaking your code with this release.</action>
<action dev="benoitx" type="add">Added new handler type ForwardUnlessNegative: a handler that acts like a Forward handler
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <be...@us...> - 2006-11-23 12:31:22
|
Revision: 222
http://svn.sourceforge.net/objectlabkit/?rev=222&view=rev
Author: benoitx
Date: 2006-11-23 04:31:20 -0800 (Thu, 23 Nov 2006)
Log Message:
-----------
[Bug 1601542]Thanks to Anthony Whitford for spotting the spelling mistake in our enum.
Modified Paths:
--------------
trunk/common-build/project.properties
trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/AbstractDateCalculator.java
trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/HolidayHandlerType.java
trunk/datecalc-common/src/test/java/net/objectlab/kit/datecalc/common/AbstractDateCalculatorFactoryTest.java
trunk/datecalc-common/src/test/java/net/objectlab/kit/datecalc/common/AbstractModifiedFollowingDateCalculatorTest.java
trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarKitCalculatorsFactory.java
trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarModifiedFollowingHandler.java
trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateKitCalculatorsFactory.java
trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateModifiedFollowingHandler.java
trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateKitCalculatorsFactory.java
trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateModifiedFollowingHandler.java
trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/YearMonthDayKitCalculatorsFactory.java
trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/YearMonthDayModifiedFollowingHandler.java
trunk/src/site/changes.xml
Modified: trunk/common-build/project.properties
===================================================================
--- trunk/common-build/project.properties 2006-11-21 10:25:32 UTC (rev 221)
+++ trunk/common-build/project.properties 2006-11-23 12:31:20 UTC (rev 222)
@@ -104,3 +104,4 @@
maven.multiproject.navigation=independent
maven.repo.remote=http://repo1.maven.org/maven,http://people.apache.org/repo/m1-snapshot-repository/
+maven.changes.issue.template=http://sourceforge.net/support/tracker.php?aid=%ISSUE%
Modified: trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/AbstractDateCalculator.java
===================================================================
--- trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/AbstractDateCalculator.java 2006-11-21 10:25:32 UTC (rev 221)
+++ trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/AbstractDateCalculator.java 2006-11-23 12:31:20 UTC (rev 222)
@@ -224,8 +224,8 @@
} else if (businessDays < 0
&& holidayHandler != null
&& (holidayHandler.getType().equals(HolidayHandlerType.FORWARD) || holidayHandler.getType().equals(
- HolidayHandlerType.MODIFIED_FOLLLOWING))) {
- throw new IllegalArgumentException("A " + HolidayHandlerType.MODIFIED_FOLLLOWING + " or " + HolidayHandlerType.FORWARD
+ HolidayHandlerType.MODIFIED_FOLLOWING))) {
+ throw new IllegalArgumentException("A " + HolidayHandlerType.MODIFIED_FOLLOWING + " or " + HolidayHandlerType.FORWARD
+ " does not allow negative steps for moveByBusinessDays");
}
Modified: trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/HolidayHandlerType.java
===================================================================
--- trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/HolidayHandlerType.java 2006-11-21 10:25:32 UTC (rev 221)
+++ trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/HolidayHandlerType.java 2006-11-23 12:31:20 UTC (rev 222)
@@ -67,7 +67,7 @@
* non working day BUT, if the new date falls into another month, it will
* revert to moving backward until it finds a working day.
*/
- public static final String MODIFIED_FOLLLOWING = "modifiedFollowing";
+ public static final String MODIFIED_FOLLOWING = "modifiedFollowing";
/**
* A modified preceeding handler will move the date backward if it falls on
Modified: trunk/datecalc-common/src/test/java/net/objectlab/kit/datecalc/common/AbstractDateCalculatorFactoryTest.java
===================================================================
--- trunk/datecalc-common/src/test/java/net/objectlab/kit/datecalc/common/AbstractDateCalculatorFactoryTest.java 2006-11-21 10:25:32 UTC (rev 221)
+++ trunk/datecalc-common/src/test/java/net/objectlab/kit/datecalc/common/AbstractDateCalculatorFactoryTest.java 2006-11-23 12:31:20 UTC (rev 222)
@@ -85,8 +85,8 @@
cal1 = getDateCalculatorFactory().getDateCalculator("bla", HolidayHandlerType.FORWARD);
Assert.assertEquals("Type", HolidayHandlerType.FORWARD, cal1.getHolidayHandlerType());
- cal1 = getDateCalculatorFactory().getDateCalculator("bla", HolidayHandlerType.MODIFIED_FOLLLOWING);
- Assert.assertEquals("Type", HolidayHandlerType.MODIFIED_FOLLLOWING, cal1.getHolidayHandlerType());
+ cal1 = getDateCalculatorFactory().getDateCalculator("bla", HolidayHandlerType.MODIFIED_FOLLOWING);
+ Assert.assertEquals("Type", HolidayHandlerType.MODIFIED_FOLLOWING, cal1.getHolidayHandlerType());
cal1 = getDateCalculatorFactory().getDateCalculator("bla", HolidayHandlerType.MODIFIED_PRECEEDING);
Assert.assertEquals("Type", HolidayHandlerType.MODIFIED_PRECEEDING, cal1.getHolidayHandlerType());
Modified: trunk/datecalc-common/src/test/java/net/objectlab/kit/datecalc/common/AbstractModifiedFollowingDateCalculatorTest.java
===================================================================
--- trunk/datecalc-common/src/test/java/net/objectlab/kit/datecalc/common/AbstractModifiedFollowingDateCalculatorTest.java 2006-11-21 10:25:32 UTC (rev 221)
+++ trunk/datecalc-common/src/test/java/net/objectlab/kit/datecalc/common/AbstractModifiedFollowingDateCalculatorTest.java 2006-11-23 12:31:20 UTC (rev 222)
@@ -40,7 +40,7 @@
public abstract class AbstractModifiedFollowingDateCalculatorTest<E> extends AbstractDateTestCase<E> {
public void testSimpleForwardWithWeekend() {
- final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.MODIFIED_FOLLOWING);
Assert.assertEquals("Name", "bla", cal.getName());
Assert.assertEquals("Holidays size", 0, cal.getNonWorkingDays().size());
@@ -54,7 +54,7 @@
}
public void testSimpleForwardStartDateWithWeekend() {
- final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.MODIFIED_FOLLOWING);
Assert.assertEquals("Name", "bla", cal.getName());
Assert.assertEquals("Holidays size", 0, cal.getNonWorkingDays().size());
@@ -81,7 +81,7 @@
}
public void testSimpleForwardStartDateNoWeekend() {
- final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.MODIFIED_FOLLOWING);
final WorkingWeek ww = new WorkingWeek().withWorkingDayFromCalendar(true, Calendar.SATURDAY).withWorkingDayFromCalendar(
true, Calendar.SUNDAY);
cal.setWorkingWeek(getWorkingWeek(ww));
@@ -112,7 +112,7 @@
}
public void testSimpleForwardStartDateWhackyWeek() {
- final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.MODIFIED_FOLLOWING);
Assert.assertEquals("Name", "bla", cal.getName());
Assert.assertEquals("Holidays size", 0, cal.getNonWorkingDays().size());
@@ -145,7 +145,7 @@
}
public void testSimpleForwardStartDateIdealWeekend() {
- final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.MODIFIED_FOLLOWING);
Assert.assertEquals("Name", "bla", cal.getName());
Assert.assertEquals("Holidays size", 0, cal.getNonWorkingDays().size());
@@ -186,7 +186,7 @@
// -----------------------------------------------------------------------
public void testSimpleForwardWithHolidays() {
- final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.MODIFIED_FOLLOWING);
final Set<E> holidays = newHolidaysSet();
Assert.assertEquals("Name", "bla", cal.getName());
cal.setNonWorkingDays(holidays);
@@ -216,7 +216,7 @@
}
public void testMoveByBusinessDays() {
- final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.MODIFIED_FOLLOWING);
final Set<E> holidays = newHolidaysSet();
Assert.assertEquals("Name", "bla", cal.getName());
cal.setNonWorkingDays(holidays);
@@ -234,7 +234,7 @@
}
public void testAddAcrossMonth() {
- final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.MODIFIED_FOLLOWING);
cal.setStartDate(newDate("2006-07-28"));
cal.moveByDays(1);
@@ -255,142 +255,142 @@
}
public void testMoveByTenorDays() {
- checkMoveByTenor("2006-08-08", StandardTenor.T_1D, 0, "2006-08-09", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.DAY), 0, "2006-08-10", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-08", new Tenor(10, TenorCode.DAY), 0, "2006-08-18", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-08", new Tenor(11, TenorCode.DAY), 0, "2006-08-21", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-08", new Tenor(12, TenorCode.DAY), 0, "2006-08-21", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-08", new Tenor(13, TenorCode.DAY), 0, "2006-08-21", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-09-26", new Tenor(4, TenorCode.DAY), 0, "2006-09-29", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-08", StandardTenor.T_1D, 0, "2006-08-09", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.DAY), 0, "2006-08-10", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-08", new Tenor(10, TenorCode.DAY), 0, "2006-08-18", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-08", new Tenor(11, TenorCode.DAY), 0, "2006-08-21", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-08", new Tenor(12, TenorCode.DAY), 0, "2006-08-21", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-08", new Tenor(13, TenorCode.DAY), 0, "2006-08-21", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-09-26", new Tenor(4, TenorCode.DAY), 0, "2006-09-29", HolidayHandlerType.MODIFIED_FOLLOWING);
}
public void testMoveByTenorDaysOneDayToSpot() {
- checkMoveByTenor("2006-08-08", StandardTenor.T_1D, 1, "2006-08-10", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.DAY), 1, "2006-08-11", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-07", new Tenor(10, TenorCode.DAY), 1, "2006-08-18", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-07", new Tenor(11, TenorCode.DAY), 1, "2006-08-21", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-07", new Tenor(12, TenorCode.DAY), 1, "2006-08-21", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-07", new Tenor(13, TenorCode.DAY), 1, "2006-08-21", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-08", StandardTenor.T_1D, 1, "2006-08-10", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.DAY), 1, "2006-08-11", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-07", new Tenor(10, TenorCode.DAY), 1, "2006-08-18", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-07", new Tenor(11, TenorCode.DAY), 1, "2006-08-21", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-07", new Tenor(12, TenorCode.DAY), 1, "2006-08-21", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-07", new Tenor(13, TenorCode.DAY), 1, "2006-08-21", HolidayHandlerType.MODIFIED_FOLLOWING);
}
public void testMoveByTenorDaysTwoDaysToSpot() {
- checkMoveByTenor("2006-08-08", StandardTenor.T_1D, 2, "2006-08-11", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.DAY), 2, "2006-08-14", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-07", new Tenor(10, TenorCode.DAY), 2, "2006-08-21", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-07", new Tenor(11, TenorCode.DAY), 2, "2006-08-21", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-07", new Tenor(12, TenorCode.DAY), 2, "2006-08-21", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-07", new Tenor(13, TenorCode.DAY), 2, "2006-08-22", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-08", StandardTenor.T_1D, 2, "2006-08-11", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.DAY), 2, "2006-08-14", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-07", new Tenor(10, TenorCode.DAY), 2, "2006-08-21", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-07", new Tenor(11, TenorCode.DAY), 2, "2006-08-21", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-07", new Tenor(12, TenorCode.DAY), 2, "2006-08-21", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-07", new Tenor(13, TenorCode.DAY), 2, "2006-08-22", HolidayHandlerType.MODIFIED_FOLLOWING);
}
public void testMoveByTenorWeek() {
- checkMoveByTenor("2006-08-08", StandardTenor.T_1W, 0, "2006-08-15", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.WEEK), 0, "2006-08-22", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-08", new Tenor(4, TenorCode.WEEK), 0, "2006-09-05", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-08", StandardTenor.T_1W, 0, "2006-08-15", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.WEEK), 0, "2006-08-22", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-08", new Tenor(4, TenorCode.WEEK), 0, "2006-09-05", HolidayHandlerType.MODIFIED_FOLLOWING);
}
public void testMoveByTenorWeekOneDayToSpot() {
- checkMoveByTenor("2006-08-08", StandardTenor.T_1W, 1, "2006-08-16", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.WEEK), 1, "2006-08-23", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-08", new Tenor(4, TenorCode.WEEK), 1, "2006-09-06", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-08", StandardTenor.T_1W, 1, "2006-08-16", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.WEEK), 1, "2006-08-23", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-08", new Tenor(4, TenorCode.WEEK), 1, "2006-09-06", HolidayHandlerType.MODIFIED_FOLLOWING);
}
public void testMoveByTenorWeekTwoDaysToSpot() {
- checkMoveByTenor("2006-08-08", StandardTenor.T_1W, 2, "2006-08-17", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.WEEK), 2, "2006-08-24", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-08", new Tenor(4, TenorCode.WEEK), 2, "2006-09-07", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-08", StandardTenor.T_1W, 2, "2006-08-17", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.WEEK), 2, "2006-08-24", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-08", new Tenor(4, TenorCode.WEEK), 2, "2006-09-07", HolidayHandlerType.MODIFIED_FOLLOWING);
}
public void testMoveByTenorMonth() {
- checkMoveByTenor("2006-08-31", StandardTenor.T_1M, 0, "2006-09-29", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-31", StandardTenor.T_2M, 0, "2006-10-31", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-01-31", StandardTenor.T_1M, 0, "2006-02-28", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2008-01-31", StandardTenor.T_1M, 0, "2008-02-29", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-31", StandardTenor.T_1M, 0, "2006-09-29", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-31", StandardTenor.T_2M, 0, "2006-10-31", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-01-31", StandardTenor.T_1M, 0, "2006-02-28", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2008-01-31", StandardTenor.T_1M, 0, "2008-02-29", HolidayHandlerType.MODIFIED_FOLLOWING);
- checkMoveByTenor("2006-08-08", StandardTenor.T_1M, 0, "2006-09-08", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-09", StandardTenor.T_1M, 0, "2006-09-11", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.MONTH), 0, "2006-10-09", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-08", new Tenor(5, TenorCode.MONTH), 0, "2007-01-08", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-08", StandardTenor.T_1M, 0, "2006-09-08", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-09", StandardTenor.T_1M, 0, "2006-09-11", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.MONTH), 0, "2006-10-09", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-08", new Tenor(5, TenorCode.MONTH), 0, "2007-01-08", HolidayHandlerType.MODIFIED_FOLLOWING);
}
public void testMoveByTenorMonthOneDayToSpot() {
- checkMoveByTenor("2006-08-31", StandardTenor.T_1M, 1, "2006-10-02", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-31", StandardTenor.T_2M, 1, "2006-11-01", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-01-31", StandardTenor.T_1M, 1, "2006-03-01", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2008-01-31", StandardTenor.T_1M, 1, "2008-03-03", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-31", StandardTenor.T_1M, 1, "2006-10-02", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-31", StandardTenor.T_2M, 1, "2006-11-01", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-01-31", StandardTenor.T_1M, 1, "2006-03-01", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2008-01-31", StandardTenor.T_1M, 1, "2008-03-03", HolidayHandlerType.MODIFIED_FOLLOWING);
- checkMoveByTenor("2006-08-08", StandardTenor.T_1M, 1, "2006-09-11", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-09", StandardTenor.T_1M, 1, "2006-09-11", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.MONTH), 1, "2006-10-09", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-08", new Tenor(5, TenorCode.MONTH), 1, "2007-01-09", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-08", StandardTenor.T_1M, 1, "2006-09-11", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-09", StandardTenor.T_1M, 1, "2006-09-11", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.MONTH), 1, "2006-10-09", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-08", new Tenor(5, TenorCode.MONTH), 1, "2007-01-09", HolidayHandlerType.MODIFIED_FOLLOWING);
}
public void testMoveByTenorMonthTwoDaysToSpot() {
- checkMoveByTenor("2006-08-31", StandardTenor.T_1M, 2, "2006-10-04", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-31", StandardTenor.T_2M, 2, "2006-11-06", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-01-31", StandardTenor.T_1M, 2, "2006-03-02", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2008-01-31", StandardTenor.T_1M, 2, "2008-03-04", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-31", StandardTenor.T_1M, 2, "2006-10-04", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-31", StandardTenor.T_2M, 2, "2006-11-06", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-01-31", StandardTenor.T_1M, 2, "2006-03-02", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2008-01-31", StandardTenor.T_1M, 2, "2008-03-04", HolidayHandlerType.MODIFIED_FOLLOWING);
- checkMoveByTenor("2006-08-08", StandardTenor.T_1M, 2, "2006-09-11", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-09", StandardTenor.T_1M, 2, "2006-09-11", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.MONTH), 2, "2006-10-10", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-08", new Tenor(5, TenorCode.MONTH), 2, "2007-01-10", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-08", StandardTenor.T_1M, 2, "2006-09-11", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-09", StandardTenor.T_1M, 2, "2006-09-11", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.MONTH), 2, "2006-10-10", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-08", new Tenor(5, TenorCode.MONTH), 2, "2007-01-10", HolidayHandlerType.MODIFIED_FOLLOWING);
}
public void testMoveByTenorYear() {
- checkMoveByTenor("2006-08-31", StandardTenor.T_1Y, 0, "2007-08-31", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-31", StandardTenor.T_2Y, 0, "2008-08-29", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2008-02-29", StandardTenor.T_1Y, 0, "2009-02-27", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2008-02-29", StandardTenor.T_4Y, 0, "2012-02-29", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-31", StandardTenor.T_1Y, 0, "2007-08-31", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-31", StandardTenor.T_2Y, 0, "2008-08-29", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2008-02-29", StandardTenor.T_1Y, 0, "2009-02-27", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2008-02-29", StandardTenor.T_4Y, 0, "2012-02-29", HolidayHandlerType.MODIFIED_FOLLOWING);
}
public void testMoveByTenorYearOneDayToSpot() {
- checkMoveByTenor("2006-08-31", StandardTenor.T_1Y, 1, "2007-09-03", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-31", StandardTenor.T_2Y, 1, "2008-09-01", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2008-02-29", StandardTenor.T_1Y, 1, "2009-03-03", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2008-02-29", StandardTenor.T_4Y, 1, "2012-03-05", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-31", StandardTenor.T_1Y, 1, "2007-09-03", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-31", StandardTenor.T_2Y, 1, "2008-09-01", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2008-02-29", StandardTenor.T_1Y, 1, "2009-03-03", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2008-02-29", StandardTenor.T_4Y, 1, "2012-03-05", HolidayHandlerType.MODIFIED_FOLLOWING);
}
public void testMoveByTenorYearTwoDaysToSpot() {
- checkMoveByTenor("2006-08-31", StandardTenor.T_1Y, 2, "2007-09-04", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-31", StandardTenor.T_2Y, 2, "2008-09-04", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2008-02-29", StandardTenor.T_1Y, 2, "2009-03-03", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2008-02-29", StandardTenor.T_4Y, 2, "2012-03-05", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-31", StandardTenor.T_1Y, 2, "2007-09-04", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-31", StandardTenor.T_2Y, 2, "2008-09-04", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2008-02-29", StandardTenor.T_1Y, 2, "2009-03-03", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2008-02-29", StandardTenor.T_4Y, 2, "2012-03-05", HolidayHandlerType.MODIFIED_FOLLOWING);
}
public void testMoveByTenorSpot() {
- checkMoveByTenor("2006-08-31", StandardTenor.SPOT, 0, "2006-08-31", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-28", StandardTenor.SPOT, 0, "2006-08-29", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-31", StandardTenor.SPOT, 0, "2006-08-31", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-28", StandardTenor.SPOT, 0, "2006-08-29", HolidayHandlerType.MODIFIED_FOLLOWING);
}
public void testMoveByTenorSpotOneDayToSpot() {
- checkMoveByTenor("2006-08-31", StandardTenor.SPOT, 1, "2006-09-01", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-28", StandardTenor.SPOT, 1, "2006-08-30", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-31", StandardTenor.SPOT, 1, "2006-09-01", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-28", StandardTenor.SPOT, 1, "2006-08-30", HolidayHandlerType.MODIFIED_FOLLOWING);
}
public void testMoveByTenorSpotTwoDaysToSpot() {
- checkMoveByTenor("2006-08-31", StandardTenor.SPOT, 2, "2006-09-04", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-28", StandardTenor.SPOT, 2, "2006-08-31", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-31", StandardTenor.SPOT, 2, "2006-09-04", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-28", StandardTenor.SPOT, 2, "2006-08-31", HolidayHandlerType.MODIFIED_FOLLOWING);
}
public void testMoveByTenorOvernight() {
- checkMoveByTenor("2006-08-24", StandardTenor.OVERNIGHT, 0, "2006-08-25", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-25", StandardTenor.OVERNIGHT, 0, "2006-08-29", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-31", StandardTenor.OVERNIGHT, 0, "2006-09-01", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-28", StandardTenor.OVERNIGHT, 0, "2006-08-30", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-24", StandardTenor.OVERNIGHT, 0, "2006-08-25", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-25", StandardTenor.OVERNIGHT, 0, "2006-08-29", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-31", StandardTenor.OVERNIGHT, 0, "2006-09-01", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-28", StandardTenor.OVERNIGHT, 0, "2006-08-30", HolidayHandlerType.MODIFIED_FOLLOWING);
}
public void testMoveByTenorOvernightOneDayToSpot() {
- checkMoveByTenor("2006-08-24", StandardTenor.OVERNIGHT, 1, "2006-08-25", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-25", StandardTenor.OVERNIGHT, 1, "2006-08-29", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-31", StandardTenor.OVERNIGHT, 1, "2006-09-01", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-28", StandardTenor.OVERNIGHT, 1, "2006-08-30", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-24", StandardTenor.OVERNIGHT, 1, "2006-08-25", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-25", StandardTenor.OVERNIGHT, 1, "2006-08-29", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-31", StandardTenor.OVERNIGHT, 1, "2006-09-01", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-28", StandardTenor.OVERNIGHT, 1, "2006-08-30", HolidayHandlerType.MODIFIED_FOLLOWING);
}
public void testMoveByTenorOvernightTwoDaysToSpot() {
- checkMoveByTenor("2006-08-24", StandardTenor.OVERNIGHT, 2, "2006-08-25", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-25", StandardTenor.OVERNIGHT, 2, "2006-08-29", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-31", StandardTenor.OVERNIGHT, 2, "2006-09-01", HolidayHandlerType.MODIFIED_FOLLLOWING);
- checkMoveByTenor("2006-08-28", StandardTenor.OVERNIGHT, 2, "2006-08-30", HolidayHandlerType.MODIFIED_FOLLLOWING);
+ checkMoveByTenor("2006-08-24", StandardTenor.OVERNIGHT, 2, "2006-08-25", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-25", StandardTenor.OVERNIGHT, 2, "2006-08-29", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-31", StandardTenor.OVERNIGHT, 2, "2006-09-01", HolidayHandlerType.MODIFIED_FOLLOWING);
+ checkMoveByTenor("2006-08-28", StandardTenor.OVERNIGHT, 2, "2006-08-30", HolidayHandlerType.MODIFIED_FOLLOWING);
}
}
Modified: trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarKitCalculatorsFactory.java
===================================================================
--- trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarKitCalculatorsFactory.java 2006-11-21 10:25:32 UTC (rev 221)
+++ trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarKitCalculatorsFactory.java 2006-11-23 12:31:20 UTC (rev 222)
@@ -85,7 +85,7 @@
cal.setHolidayHandler(new CalendarForwardHandler());
} else if (HolidayHandlerType.BACKWARD.equals(holidayHandlerType)) {
cal.setHolidayHandler(new CalendarBackwardHandler());
- } else if (HolidayHandlerType.MODIFIED_FOLLLOWING.equals(holidayHandlerType)) {
+ } else if (HolidayHandlerType.MODIFIED_FOLLOWING.equals(holidayHandlerType)) {
cal.setHolidayHandler(new CalendarModifiedFollowingHandler());
} else if (HolidayHandlerType.MODIFIED_PRECEEDING.equals(holidayHandlerType)) {
cal.setHolidayHandler(new CalendarModifiedPreceedingHandler());
Modified: trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarModifiedFollowingHandler.java
===================================================================
--- trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarModifiedFollowingHandler.java 2006-11-21 10:25:32 UTC (rev 221)
+++ trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarModifiedFollowingHandler.java 2006-11-23 12:31:20 UTC (rev 222)
@@ -92,7 +92,7 @@
* @return algorithm name.
*/
public String getType() {
- return HolidayHandlerType.MODIFIED_FOLLLOWING;
+ return HolidayHandlerType.MODIFIED_FOLLOWING;
}
}
Modified: trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateKitCalculatorsFactory.java
===================================================================
--- trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateKitCalculatorsFactory.java 2006-11-21 10:25:32 UTC (rev 221)
+++ trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateKitCalculatorsFactory.java 2006-11-23 12:31:20 UTC (rev 222)
@@ -85,7 +85,7 @@
cal.setHolidayHandler(new DateForwardHandler());
} else if (HolidayHandlerType.BACKWARD.equals(holidayHandlerType)) {
cal.setHolidayHandler(new DateBackwardHandler());
- } else if (HolidayHandlerType.MODIFIED_FOLLLOWING.equals(holidayHandlerType)) {
+ } else if (HolidayHandlerType.MODIFIED_FOLLOWING.equals(holidayHandlerType)) {
cal.setHolidayHandler(new DateModifiedFollowingHandler());
} else if (HolidayHandlerType.MODIFIED_PRECEEDING.equals(holidayHandlerType)) {
cal.setHolidayHandler(new DateModifiedPreceedingHandler());
Modified: trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateModifiedFollowingHandler.java
===================================================================
--- trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateModifiedFollowingHandler.java 2006-11-21 10:25:32 UTC (rev 221)
+++ trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateModifiedFollowingHandler.java 2006-11-23 12:31:20 UTC (rev 222)
@@ -95,7 +95,7 @@
* @return algorithm name.
*/
public String getType() {
- return HolidayHandlerType.MODIFIED_FOLLLOWING;
+ return HolidayHandlerType.MODIFIED_FOLLOWING;
}
}
Modified: trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateKitCalculatorsFactory.java
===================================================================
--- trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateKitCalculatorsFactory.java 2006-11-21 10:25:32 UTC (rev 221)
+++ trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateKitCalculatorsFactory.java 2006-11-23 12:31:20 UTC (rev 222)
@@ -88,7 +88,7 @@
cal.setHolidayHandler(new LocalDateForwardHandler());
} else if (HolidayHandlerType.BACKWARD.equals(holidayHandlerType)) {
cal.setHolidayHandler(new LocalDateBackwardHandler());
- } else if (HolidayHandlerType.MODIFIED_FOLLLOWING.equals(holidayHandlerType)) {
+ } else if (HolidayHandlerType.MODIFIED_FOLLOWING.equals(holidayHandlerType)) {
cal.setHolidayHandler(new LocalDateModifiedFollowingHandler());
} else if (HolidayHandlerType.MODIFIED_PRECEEDING.equals(holidayHandlerType)) {
cal.setHolidayHandler(new LocalDateModifiedPreceedingHandler());
Modified: trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateModifiedFollowingHandler.java
===================================================================
--- trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateModifiedFollowingHandler.java 2006-11-21 10:25:32 UTC (rev 221)
+++ trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateModifiedFollowingHandler.java 2006-11-23 12:31:20 UTC (rev 222)
@@ -90,7 +90,7 @@
* @return algorithm name.
*/
public String getType() {
- return HolidayHandlerType.MODIFIED_FOLLLOWING;
+ return HolidayHandlerType.MODIFIED_FOLLOWING;
}
}
Modified: trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/YearMonthDayKitCalculatorsFactory.java
===================================================================
--- trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/YearMonthDayKitCalculatorsFactory.java 2006-11-21 10:25:32 UTC (rev 221)
+++ trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/YearMonthDayKitCalculatorsFactory.java 2006-11-23 12:31:20 UTC (rev 222)
@@ -90,7 +90,7 @@
cal.setHolidayHandler(new YearMonthDayForwardHandler());
} else if (HolidayHandlerType.BACKWARD.equals(holidayHandlerType)) {
cal.setHolidayHandler(new YearMonthDayBackwardHandler());
- } else if (HolidayHandlerType.MODIFIED_FOLLLOWING.equals(holidayHandlerType)) {
+ } else if (HolidayHandlerType.MODIFIED_FOLLOWING.equals(holidayHandlerType)) {
cal.setHolidayHandler(new YearMonthDayModifiedFollowingHandler());
} else if (HolidayHandlerType.MODIFIED_PRECEEDING.equals(holidayHandlerType)) {
cal.setHolidayHandler(new YearMonthDayModifiedPreceedingHandler());
Modified: trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/YearMonthDayModifiedFollowingHandler.java
===================================================================
--- trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/YearMonthDayModifiedFollowingHandler.java 2006-11-21 10:25:32 UTC (rev 221)
+++ trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/YearMonthDayModifiedFollowingHandler.java 2006-11-23 12:31:20 UTC (rev 222)
@@ -56,7 +56,7 @@
* @return algorithm name.
*/
public String getType() {
- return HolidayHandlerType.MODIFIED_FOLLLOWING;
+ return HolidayHandlerType.MODIFIED_FOLLOWING;
}
/**
Modified: trunk/src/site/changes.xml
===================================================================
--- trunk/src/site/changes.xml 2006-11-21 10:25:32 UTC (rev 221)
+++ trunk/src/site/changes.xml 2006-11-23 12:31:20 UTC (rev 222)
@@ -9,6 +9,8 @@
</properties>
<body>
<release version="1.1.0" date="in SVN" description="Maintenance">
+ <action dev="benoitx" type="fix" issue="1601542" due-to="Anthony Whitford">Spelling mistake in the code,
+ sorry for breaking your code with this release.</action>
<action dev="benoitx" type="add">Added new handler type ForwardUnlessNegative: a handler that acts like a Forward handler
if the increment is positive otherwise acts like a Backward handler.</action>
</release>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <be...@us...> - 2006-11-21 10:25:33
|
Revision: 221
http://svn.sourceforge.net/objectlabkit/?rev=221&view=rev
Author: benoitx
Date: 2006-11-21 02:25:32 -0800 (Tue, 21 Nov 2006)
Log Message:
-----------
Build stats.
Modified Paths:
--------------
trunk/datecalc-common/qalab.xml
trunk/datecalc-jdk/qalab.xml
trunk/datecalc-joda/qalab.xml
trunk/statsvn.bat
Property Changed:
----------------
trunk/datecalc-common/
trunk/src/site/statsvn/
Property changes on: trunk/datecalc-common
___________________________________________________________________
Name: svn:ignore
- target
.fbwarnings
+ target
.fbwarnings
velocity.log
ydocErr.log
Modified: trunk/datecalc-common/qalab.xml
===================================================================
--- trunk/datecalc-common/qalab.xml 2006-11-13 22:39:54 UTC (rev 220)
+++ trunk/datecalc-common/qalab.xml 2006-11-21 10:25:32 UTC (rev 221)
@@ -85,6 +85,8 @@
<summaryresult date="2006-10-14" filecount="17" statvalue="60" type="cobertura-branch"/>
<summaryresult date="2006-10-15" filecount="17" statvalue="58" type="cobertura-line"/>
<summaryresult date="2006-10-15" filecount="17" statvalue="60" type="cobertura-branch"/>
+ <summaryresult date="2006-11-13" filecount="17" statvalue="56" type="cobertura-line"/>
+ <summaryresult date="2006-11-13" filecount="17" statvalue="60" type="cobertura-branch"/>
</summary>
<file id="net_objectlab_kit_datecalc_common_package.html" path="net/objectlab/kit/datecalc/common/package.html">
<result date="2006-08-08" statvalue="1" type="checkstyle"/>
@@ -155,6 +157,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file id="net_objectlab_kit_datecalc_common_WorkingWeek.java" path="net/objectlab/kit/datecalc/common/WorkingWeek.java">
<result date="2006-08-08" statvalue="3" type="checkstyle"/>
@@ -217,6 +221,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="94" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="95" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file id="net_objectlab_kit_datecalc_common_TenorCode.java" path="net/objectlab/kit/datecalc/common/TenorCode.java">
<result date="2006-08-08" statvalue="100" type="cobertura-line"/>
@@ -271,6 +277,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file id="net_objectlab_kit_datecalc_common_HolidayHandlerType.java" path="net/objectlab/kit/datecalc/common/HolidayHandlerType.java">
<result date="2006-08-08" statvalue="100" type="cobertura-branch"/>
@@ -299,6 +307,7 @@
<result date="2006-10-13" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file id="net_objectlab_kit_datecalc_common_PeriodCountBasis.java" path="net/objectlab/kit/datecalc/common/PeriodCountBasis.java">
<result date="2006-08-08" statvalue="100" type="cobertura-branch"/>
@@ -325,6 +334,7 @@
<result date="2006-10-13" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file id="net_objectlab_kit_datecalc_common_StandardTenor.java" path="net/objectlab/kit/datecalc/common/StandardTenor.java">
<result date="2006-08-08" statvalue="100" type="cobertura-branch"/>
@@ -378,6 +388,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="93" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="90" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_common_AbstractDateCalculator.java" path="net/objectlab/kit/datecalc/common/AbstractDateCalculator.java">
@@ -429,6 +441,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file id="net_objectlab_kit_datecalc_common_HolidayHandler.java" path="net/objectlab/kit/datecalc/common/HolidayHandler.java">
<result date="2006-08-23" statvalue="100" type="cobertura-line"/>
@@ -473,6 +487,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_common_AbstractDateCalculatorFactory.java" path="net/objectlab/kit/datecalc/common/AbstractDateCalculatorFactory.java">
@@ -545,6 +561,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file id="net_objectlab_kit_datecalc_common_Utils.java" path="net/objectlab/kit/datecalc/common/Utils.java">
<result date="2006-09-04" statvalue="2" type="checkstyle"/>
@@ -582,6 +600,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="93" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="88" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file id="net_objectlab_kit_datecalc_common_IMMPeriod.java" path="net/objectlab/kit/datecalc/common/IMMPeriod.java">
<result date="2006-09-04" statvalue="100" type="cobertura-branch"/>
@@ -601,6 +621,7 @@
<result date="2006-10-13" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file id="net_objectlab_kit_datecalc_common_ExcelDateUtil.java" path="net/objectlab/kit/datecalc/common/ExcelDateUtil.java">
<result date="2006-09-05" statvalue="84" type="cobertura-line"/>
@@ -635,6 +656,8 @@
<result date="2006-10-14" statvalue="83" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="80" type="cobertura-line"/>
<result date="2006-10-15" statvalue="83" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="82" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="83" type="cobertura-branch"/>
</file>
<file id="net_objectlab_kit_datecalc_common_IMMDateCalculator.java" path="net/objectlab/kit/datecalc/common/IMMDateCalculator.java">
<result date="2006-09-06" statvalue="100" type="cobertura-line"/>
@@ -667,6 +690,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_common_AbstractIMMDateCalculator.java" path="net/objectlab/kit/datecalc/common/AbstractIMMDateCalculator.java">
@@ -685,6 +710,7 @@
<result date="2006-10-13" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_common_KitCalculatorsFactory.java" path="net/objectlab/kit/datecalc/common/KitCalculatorsFactory.java">
@@ -714,5 +740,7 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
</qalab>
Modified: trunk/datecalc-jdk/qalab.xml
===================================================================
--- trunk/datecalc-jdk/qalab.xml 2006-11-13 22:39:54 UTC (rev 220)
+++ trunk/datecalc-jdk/qalab.xml 2006-11-21 10:25:32 UTC (rev 221)
@@ -88,6 +88,8 @@
<summaryresult date="2006-10-14" filecount="17" statvalue="100" type="cobertura-branch"/>
<summaryresult date="2006-10-15" filecount="17" statvalue="99" type="cobertura-line"/>
<summaryresult date="2006-10-15" filecount="17" statvalue="100" type="cobertura-branch"/>
+ <summaryresult date="2006-11-13" filecount="19" statvalue="99" type="cobertura-line"/>
+ <summaryresult date="2006-11-13" filecount="19" statvalue="100" type="cobertura-branch"/>
</summary>
<file id="net_objectlab_kit_datecalc_jdk_package.html" path="net/objectlab/kit/datecalc/jdk/package.html">
<result date="2006-08-08" statvalue="1" type="checkstyle"/>
@@ -322,6 +324,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_jdk_DatePeriodCountCalculator.java" path="net/objectlab/kit/datecalc/jdk/DatePeriodCountCalculator.java">
@@ -364,6 +368,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file id="net_objectlab_kit_datecalc_jdk_ExcelDateUtil.java" path="net/objectlab/kit/datecalc/jdk/ExcelDateUtil.java">
<result date="2006-09-02" statvalue="4" type="checkstyle"/>
@@ -414,6 +420,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="90" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="91" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_jdk_JdkCalendarBaseDateCalculator.java" path="net/objectlab/kit/datecalc/jdk/JdkCalendarBaseDateCalculator.java">
@@ -575,6 +583,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_jdk_CalendarForwardHandler.java" path="net/objectlab/kit/datecalc/jdk/CalendarForwardHandler.java">
@@ -606,6 +616,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_jdk_CalendarModifiedFollowingHandler.java" path="net/objectlab/kit/datecalc/jdk/CalendarModifiedFollowingHandler.java">
@@ -637,6 +649,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_jdk_CalendarModifiedPreceedingHandler.java" path="net/objectlab/kit/datecalc/jdk/CalendarModifiedPreceedingHandler.java">
@@ -670,6 +684,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file id="net_objectlab_kit_datecalc_jdk_DateBackwardHandler.java" path="net/objectlab/kit/datecalc/jdk/DateBackwardHandler.java">
<result date="2006-09-07" statvalue="100" type="cobertura-line"/>
@@ -702,6 +718,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file id="net_objectlab_kit_datecalc_jdk_DateForwardHandler.java" path="net/objectlab/kit/datecalc/jdk/DateForwardHandler.java">
<result date="2006-09-07" statvalue="90" type="cobertura-line"/>
@@ -732,6 +750,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_jdk_DateModifiedFollowingHandler.java" path="net/objectlab/kit/datecalc/jdk/DateModifiedFollowingHandler.java">
@@ -763,6 +783,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_jdk_DateModifiedPreceedingHandler.java" path="net/objectlab/kit/datecalc/jdk/DateModifiedPreceedingHandler.java">
@@ -796,6 +818,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_jdk_CalendarDateCalculator.java" path="net/objectlab/kit/datecalc/jdk/CalendarDateCalculator.java">
@@ -825,6 +849,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_jdk_CalendarIMMDateCalculator.java" path="net/objectlab/kit/datecalc/jdk/CalendarIMMDateCalculator.java">
@@ -856,6 +882,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_jdk_CalendarKitCalculatorsFactory.java" path="net/objectlab/kit/datecalc/jdk/CalendarKitCalculatorsFactory.java">
@@ -885,6 +913,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file id="net_objectlab_kit_datecalc_jdk_DateDateCalculator.java" path="net/objectlab/kit/datecalc/jdk/DateDateCalculator.java">
<result date="2006-09-09" statvalue="100" type="cobertura-line"/>
@@ -913,6 +943,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file id="net_objectlab_kit_datecalc_jdk_DateIMMDateCalculator.java" path="net/objectlab/kit/datecalc/jdk/DateIMMDateCalculator.java">
<result date="2006-09-09" statvalue="100" type="cobertura-line"/>
@@ -943,6 +975,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_jdk_DateKitCalculatorsFactory.java" path="net/objectlab/kit/datecalc/jdk/DateKitCalculatorsFactory.java">
@@ -972,5 +1006,17 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
+ <file
+ id="net_objectlab_kit_datecalc_jdk_CalendarForwardUnlessNegativeHandler.java" path="net/objectlab/kit/datecalc/jdk/CalendarForwardUnlessNegativeHandler.java">
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
+ </file>
+ <file
+ id="net_objectlab_kit_datecalc_jdk_DateForwardUnlessNegativeHandler.java" path="net/objectlab/kit/datecalc/jdk/DateForwardUnlessNegativeHandler.java">
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
+ </file>
</qalab>
Modified: trunk/datecalc-joda/qalab.xml
===================================================================
--- trunk/datecalc-joda/qalab.xml 2006-11-13 22:39:54 UTC (rev 220)
+++ trunk/datecalc-joda/qalab.xml 2006-11-21 10:25:32 UTC (rev 221)
@@ -89,6 +89,9 @@
<summaryresult date="2006-10-14" filecount="19" statvalue="100" type="cobertura-branch"/>
<summaryresult date="2006-10-15" filecount="19" statvalue="98" type="cobertura-line"/>
<summaryresult date="2006-10-15" filecount="19" statvalue="100" type="cobertura-branch"/>
+ <summaryresult date="2006-11-13" filecount="22" statvalue="2" type="checkstyle"/>
+ <summaryresult date="2006-11-13" filecount="21" statvalue="98" type="cobertura-line"/>
+ <summaryresult date="2006-11-13" filecount="21" statvalue="100" type="cobertura-branch"/>
</summary>
<file id="net_objectlab_kit_datecalc_joda_package.html" path="net/objectlab/kit/datecalc/joda/package.html">
<result date="2006-08-08" statvalue="1" type="checkstyle"/>
@@ -227,6 +230,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file id="net_objectlab_kit_datecalc_joda_BackwardHandler.java" path="net/objectlab/kit/datecalc/joda/BackwardHandler.java">
<result date="2006-08-08" statvalue="28" type="cobertura-line"/>
@@ -437,6 +442,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="91" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="91" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_joda_LocalDateBackwardHandler.java" path="net/objectlab/kit/datecalc/joda/LocalDateBackwardHandler.java">
@@ -474,6 +481,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file id="net_objectlab_kit_datecalc_joda_LocalDateCalculator.java" path="net/objectlab/kit/datecalc/joda/LocalDateCalculator.java">
<result date="2006-09-02" statvalue="100" type="cobertura-line"/>
@@ -511,6 +520,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="97" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="96" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_joda_LocalDateForwardHandler.java" path="net/objectlab/kit/datecalc/joda/LocalDateForwardHandler.java">
@@ -548,6 +559,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_joda_LocalDateModifiedFollowingHandler.java" path="net/objectlab/kit/datecalc/joda/LocalDateModifiedFollowingHandler.java">
@@ -585,6 +598,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_joda_LocalDateModifiedPreceedingHandler.java" path="net/objectlab/kit/datecalc/joda/LocalDateModifiedPreceedingHandler.java">
@@ -622,6 +637,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_joda_YearMonthDayBackwardHandler.java" path="net/objectlab/kit/datecalc/joda/YearMonthDayBackwardHandler.java">
@@ -659,6 +676,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_joda_YearMonthDayDateCalculator.java" path="net/objectlab/kit/datecalc/joda/YearMonthDayDateCalculator.java">
@@ -696,6 +715,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_joda_YearMonthDayForwardHandler.java" path="net/objectlab/kit/datecalc/joda/YearMonthDayForwardHandler.java">
@@ -733,6 +754,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_joda_YearMonthDayModifiedFollowingHandler.java" path="net/objectlab/kit/datecalc/joda/YearMonthDayModifiedFollowingHandler.java">
@@ -770,6 +793,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_joda_YearMonthDayModifiedPreceedingHandler.java" path="net/objectlab/kit/datecalc/joda/YearMonthDayModifiedPreceedingHandler.java">
@@ -807,6 +832,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file id="net_objectlab_kit_datecalc_joda_JodaExcelDateUtil.java" path="net/objectlab/kit/datecalc/joda/JodaExcelDateUtil.java">
<result date="2006-09-05" statvalue="85" type="cobertura-line"/>
@@ -839,6 +866,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="85" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="85" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_joda_LocalDateIMMDateCalculator.java" path="net/objectlab/kit/datecalc/joda/LocalDateIMMDateCalculator.java">
@@ -872,6 +901,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_joda_YearMonthDayIMMDateCalculator.java" path="net/objectlab/kit/datecalc/joda/YearMonthDayIMMDateCalculator.java">
@@ -905,6 +936,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_joda_LocalDateKitCalculatorsFactory.java" path="net/objectlab/kit/datecalc/joda/LocalDateKitCalculatorsFactory.java">
@@ -932,6 +965,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_joda_LocalDatePeriodCountCalculator.java" path="net/objectlab/kit/datecalc/joda/LocalDatePeriodCountCalculator.java">
@@ -959,6 +994,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_joda_YearMonthDayKitCalculatorsFactory.java" path="net/objectlab/kit/datecalc/joda/YearMonthDayKitCalculatorsFactory.java">
@@ -986,6 +1023,8 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="net_objectlab_kit_datecalc_joda_YearMonthDayPeriodCountCalculator.java" path="net/objectlab/kit/datecalc/joda/YearMonthDayPeriodCountCalculator.java">
@@ -1013,5 +1052,18 @@
<result date="2006-10-14" statvalue="100" type="cobertura-branch"/>
<result date="2006-10-15" statvalue="100" type="cobertura-line"/>
<result date="2006-10-15" statvalue="100" type="cobertura-branch"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
</file>
+ <file
+ id="net_objectlab_kit_datecalc_joda_LocalDateForwardUnlessNegativeHandler.java" path="net/objectlab/kit/datecalc/joda/LocalDateForwardUnlessNegativeHandler.java">
+ <result date="2006-11-13" statvalue="2" type="checkstyle"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
+ </file>
+ <file
+ id="net_objectlab_kit_datecalc_joda_YearMonthDayForwardUnlessNegativeHandler.java" path="net/objectlab/kit/datecalc/joda/YearMonthDayForwardUnlessNegativeHandler.java">
+ <result date="2006-11-13" statvalue="100" type="cobertura-line"/>
+ <result date="2006-11-13" statvalue="100" type="cobertura-branch"/>
+ </file>
</qalab>
Property changes on: trunk/src/site/statsvn
___________________________________________________________________
Name: svn:ignore
+ *.png
*.xml
objectlab-statcvs-xdoc.css
objectlab-statcvs.css
Modified: trunk/statsvn.bat
===================================================================
--- trunk/statsvn.bat 2006-11-13 22:39:54 UTC (rev 220)
+++ trunk/statsvn.bat 2006-11-21 10:25:32 UTC (rev 221)
@@ -1,3 +1,3 @@
svn log -v --xml > logfile.log
rem mkdir qalab\target\docs\statsvn
-java -jar c:\java\statsvn\statsvn.jar -css objectlab-statcvs.css -verbose -output-dir src\site\statsvn -title ObjectLabKit -viewvc http://svn.sourceforge.net/viewvc/objectlabkit/trunk ./logfile.log .
\ No newline at end of file
+java -jar c:\java\statsvn\statsvn.jar -format xdoc -verbose -output-dir src\site\statsvn -title ObjectLabKit -viewvc http://svn.sourceforge.net/viewvc/objectlabkit/trunk ./logfile.log .
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: Google A. <goo...@go...> - 2006-11-15 07:37:12
|
Compose a message to send to gmane.comp.java.joda-time.user ... Objectlab Kit for Java 1.5 > > http://objectlabkit.sourceforge.net > > The ObjectLab Kit is released under the business friendly Apache License > v2.0. ... <http://post.gmane.org/post.php?group=gmane.comp.java.joda-time.user&followup=257%20rel=nofollow> This once a day Google Alert is brought to you by Google... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove this Google Alert: http://www.google.com/alerts/remove?s=EAAAAIfnd2Id1jfwipBB4CiM3Aw&hl=en Create another Google Alert: http://www.google.com/alerts?hl=en Sign in to manage your alerts: http://www.google.com/alerts/manage?hl=en |
|
From: Google A. <goo...@go...> - 2006-11-14 07:36:32
|
The Server Side | EGJUG ObjectLabKit 1.0.1: Date Calculators for Business and Finance. ObjectLab has announced the release of version 1.0.1 of ObjectLab Kit for Java 1.5, ... <http://www.egjug.org/aggregator/sources/1?from=60> This once a day Google Alert is brought to you by Google... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove this Google Alert: http://www.google.com/alerts/remove?s=EAAAAIfnd2Id1jfwipBB4CiM3Aw&hl=en Create another Google Alert: http://www.google.com/alerts?hl=en Sign in to manage your alerts: http://www.google.com/alerts/manage?hl=en |
|
From: Google A. <goo...@go...> - 2006-11-14 04:29:54
|
Compose a message to send to gmane.comp.java.joda-time.user ... Objectlab Kit for Java 1.5 > > http://objectlabkit.sourceforge.net > > The ObjectLab Kit is released under the business friendly Apache License > v2.0. ... <http://post.gmane.org/post.php?group=gmane.comp.java.joda-time.user&followup=253%20rel=nofollow> This once a day Google Alert is brought to you by Google... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove this Google Alert: http://www.google.com/alerts/remove?s=EAAAAIfnd2Id1jfwipBB4CiM3Aw&hl=en Create another Google Alert: http://www.google.com/alerts?hl=en Sign in to manage your alerts: http://www.google.com/alerts/manage?hl=en |
|
From: <be...@us...> - 2006-11-13 22:41:01
|
Revision: 220
http://svn.sourceforge.net/objectlabkit/?rev=220&view=rev
Author: benoitx
Date: 2006-11-13 14:39:54 -0800 (Mon, 13 Nov 2006)
Log Message:
-----------
Added new handler type ForwardUnlessNegative: a handler that acts like a Forward handler
if the increment is positive otherwise acts like a Backward handler
Modified Paths:
--------------
trunk/common-build/project.xml
trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/AbstractDateCalculator.java
trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/DateCalculator.java
trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/HolidayHandlerType.java
trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarDateCalculator.java
trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarKitCalculatorsFactory.java
trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateDateCalculator.java
trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateKitCalculatorsFactory.java
trunk/datecalc-jdk/src/test/java/net/objectlab/kit/datecalc/jdk/JdkDateForwardDateCalculatorTest.java
trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateCalculator.java
trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateKitCalculatorsFactory.java
trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/YearMonthDayDateCalculator.java
trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/YearMonthDayKitCalculatorsFactory.java
trunk/maven.xml
trunk/src/site/changes.xml
trunk/src/site/navigation.xml
Added Paths:
-----------
trunk/datecalc-common/src/test/java/net/objectlab/kit/datecalc/common/AbstractForwardUnlessNegativeCalculatorTest.java
trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarForwardUnlessNegativeHandler.java
trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateForwardUnlessNegativeHandler.java
trunk/datecalc-jdk/src/test/java/net/objectlab/kit/datecalc/jdk/JdkCalendarForwardUnlessNegativeCalculatorTest.java
trunk/datecalc-jdk/src/test/java/net/objectlab/kit/datecalc/jdk/JdkDateForwardUnlessNegativeDateCalculatorTest.java
trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateForwardUnlessNegativeHandler.java
trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/YearMonthDayForwardUnlessNegativeHandler.java
trunk/datecalc-joda/src/test/java/net/objectlab/kit/datecalc/joda/LocalDateForwardUnlessNegativeDateCalculatorTest.java
trunk/datecalc-joda/src/test/java/net/objectlab/kit/datecalc/joda/YearMonthDayForwardUnlessNegativeDateCalculatorTest.java
trunk/objectlab-statcvs.css
trunk/src/site/statsvn/
trunk/statsvn.bat
Modified: trunk/common-build/project.xml
===================================================================
--- trunk/common-build/project.xml 2006-11-03 15:59:19 UTC (rev 219)
+++ trunk/common-build/project.xml 2006-11-13 22:39:54 UTC (rev 220)
@@ -27,7 +27,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd">
<pomVersion>3</pomVersion>
<groupId>net.objectlab.kit.datecalc</groupId>
- <currentVersion>1.0.1</currentVersion>
+ <currentVersion>1.1.0</currentVersion>
<organization>
<name>ObjectLab Financial Ltd</name>
<url>http://www.objectlab.co.uk</url>
@@ -145,6 +145,11 @@
<versions>
<version>
+ <id>1.1.0</id>
+ <name>1.1.0</name>
+ <tag>v1.1.0</tag>
+ </version>
+ <version>
<id>1.0.1</id>
<name>1.0.1</name>
<tag>v1.0.1</tag>
Modified: trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/AbstractDateCalculator.java
===================================================================
--- trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/AbstractDateCalculator.java 2006-11-03 15:59:19 UTC (rev 219)
+++ trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/AbstractDateCalculator.java 2006-11-13 22:39:54 UTC (rev 220)
@@ -65,6 +65,8 @@
private Set<E> nonWorkingDays;
private HolidayHandler<E> holidayHandler;
+
+ private int currentIncrement = 0;
protected AbstractDateCalculator(final String name, final Set<E> nonWorkingDays, final HolidayHandler<E> holidayHandler) {
this.name = name;
@@ -277,6 +279,20 @@
protected abstract DateCalculator<E> createNewCalculator(String calcName, E theStartDate, Set<E> holidays,
HolidayHandler<E> handler);
+
+ /**
+ * @return Returns the currentIncrement.
+ */
+ public int getCurrentIncrement() {
+ return currentIncrement;
+ }
+
+ /**
+ * @param currentIncrement The currentIncrement to set.
+ */
+ public void setCurrentIncrement(int currentIncrement) {
+ this.currentIncrement = currentIncrement;
+ }
}
/*
Modified: trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/DateCalculator.java
===================================================================
--- trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/DateCalculator.java 2006-11-03 15:59:19 UTC (rev 219)
+++ trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/DateCalculator.java 2006-11-13 22:39:54 UTC (rev 220)
@@ -225,6 +225,20 @@
* @return the current DateCalculator
*/
DateCalculator<E> moveByTenor(final Tenor tenor, final int spotLag);
+
+ /**
+ * return the current increment in the calculator, this is used by the
+ * handler.
+ */
+ int getCurrentIncrement();
+
+ /**
+ * This would be used by delegate methods to detect if the increment
+ * if positive or negative (this will allow us to define a Handler
+ * that can act as Forward if positive and Backward if negative).
+ * @param increment
+ */
+ void setCurrentIncrement(final int increment);
}
/*
Modified: trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/HolidayHandlerType.java
===================================================================
--- trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/HolidayHandlerType.java 2006-11-03 15:59:19 UTC (rev 219)
+++ trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/HolidayHandlerType.java 2006-11-13 22:39:54 UTC (rev 220)
@@ -76,6 +76,12 @@
*/
public static final String MODIFIED_PRECEEDING = "modifiedPreceeding";
+ /**
+ * A handler that moves the date forward unless the increment is negative
+ * (eg moveByDays(-2)) in which case it behaves like a Backward handler.
+ */
+ public static final String FORWARD_UNLESS_MOVING_BACK = "forwardUnlessMovingBack";
+
private HolidayHandlerType() {
}
}
Added: trunk/datecalc-common/src/test/java/net/objectlab/kit/datecalc/common/AbstractForwardUnlessNegativeCalculatorTest.java
===================================================================
--- trunk/datecalc-common/src/test/java/net/objectlab/kit/datecalc/common/AbstractForwardUnlessNegativeCalculatorTest.java (rev 0)
+++ trunk/datecalc-common/src/test/java/net/objectlab/kit/datecalc/common/AbstractForwardUnlessNegativeCalculatorTest.java 2006-11-13 22:39:54 UTC (rev 220)
@@ -0,0 +1,394 @@
+/*
+ * ObjectLab, http://www.objectlab.co.uk/open is sponsoring the ObjectLab Kit.
+ *
+ * Based in London, we are world leaders in the design and development
+ * of bespoke applications for the securities financing markets.
+ *
+ * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a>
+ * ___ _ _ _ _ _
+ * / _ \| |__ (_) ___ ___| |_| | __ _| |__
+ * | | | | '_ \| |/ _ \/ __| __| | / _` | '_ \
+ * | |_| | |_) | | __/ (__| |_| |__| (_| | |_) |
+ * \___/|_.__// |\___|\___|\__|_____\__,_|_.__/
+ * |__/
+ *
+ * www.ObjectLab.co.uk
+ *
+ * $Id: AbstractForwardDateCalculatorTest.java 200 2006-10-10 20:15:58Z benoitx $
+ *
+ * Copyright 2006 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package net.objectlab.kit.datecalc.common;
+
+import java.util.Calendar;
+import java.util.Set;
+
+import junit.framework.Assert;
+
+public abstract class AbstractForwardUnlessNegativeCalculatorTest<E> extends AbstractDateTestCase<E> {
+
+ public void testSimpleForwardWithWeekend() {
+ final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.FORWARD);
+ Assert.assertEquals("Name", "bla", cal.getName());
+ Assert.assertEquals("Holidays size", 0, cal.getNonWorkingDays().size());
+
+ final E startDate = newDate("2006-08-01");
+ cal.setStartDate(startDate);
+ checkDate("Move by 0 days", cal.moveByDays(0), "2006-08-01");
+ checkDate("Move by 1 days", cal.moveByDays(1), "2006-08-02");
+ checkDate("Move by 1 days", cal.moveByDays(-1), "2006-08-01");
+ checkDate("Move by 1 days", cal.moveByDays(1), "2006-08-02");
+ checkDate("Move by 1 more days", cal.moveByDays(1), "2006-08-03");
+ checkDate("Move by 1 more more days", cal.moveByDays(1), "2006-08-04");
+ checkDate("Move by 1 more more more days (across weekend)", cal.moveByDays(1), "2006-08-07");
+ }
+
+ public void testSimpleForwardStartDateWithWeekend() {
+ final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ Assert.assertEquals("Name", "bla", cal.getName());
+ Assert.assertEquals("Holidays size", 0, cal.getNonWorkingDays().size());
+
+ cal.setStartDate(newDate("2006-07-31")); // start date Monday
+ checkDate("start date Monday", cal, "2006-07-31");
+
+ cal.setStartDate(newDate("2006-08-01")); // start date Tuesday
+ checkDate("start date Tuesday", cal, "2006-08-01");
+
+ cal.setStartDate(newDate("2006-08-02")); // start date Wednesday
+ checkDate("start date Wednesday", cal, "2006-08-02");
+
+ cal.setStartDate(newDate("2006-08-03")); // start date Thursday
+ checkDate("start date Thursday", cal, "2006-08-03");
+
+ cal.setStartDate(newDate("2006-08-04")); // set on a Friday
+ checkDate("start date friday", cal, "2006-08-04");
+
+ cal.setStartDate(newDate("2006-08-05")); // set on a Saturday
+ checkDate("start date Saturday", cal, "2006-08-07");
+
+ cal.setStartDate(newDate("2006-08-06")); // set on a Sunday
+ checkDate("start date Sunday", cal, "2006-08-07");
+ }
+
+ public void testSimpleForwardStartDateNoWeekend() {
+ final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ final WorkingWeek ww = new WorkingWeek().withWorkingDayFromCalendar(true, Calendar.SATURDAY).withWorkingDayFromCalendar(
+ true, Calendar.SUNDAY);
+ cal.setWorkingWeek(getWorkingWeek(ww));
+ Assert.assertEquals("Name", "bla", cal.getName());
+ Assert.assertEquals("Holidays size", 0, cal.getNonWorkingDays().size());
+
+ cal.setStartDate(newDate("2006-07-31")); // start date Monday
+ checkDate("start date Monday", cal, "2006-07-31");
+
+ cal.setStartDate(newDate("2006-08-01")); // start date Tuesday
+ checkDate("start date Tuesday", cal, "2006-08-01");
+
+ cal.setStartDate(newDate("2006-08-02")); // start date Wednesday
+ checkDate("start date Wednesday", cal, "2006-08-02");
+
+ cal.setStartDate(newDate("2006-08-03")); // start date Thursday
+ checkDate("start date Thursday", cal, "2006-08-03");
+
+ cal.setStartDate(newDate("2006-08-04")); // set on a Friday
+ checkDate("start date friday", cal, "2006-08-04");
+
+ cal.setStartDate(newDate("2006-08-05")); // set on a Saturday
+ checkDate("start date Saturday", cal, "2006-08-05");
+
+ cal.setStartDate(newDate("2006-08-06")); // set on a Sunday
+ checkDate("start date Sunday", cal, "2006-08-06");
+ }
+
+ public void testSimpleForwardStartDateWhackyWeek() {
+ final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ Assert.assertEquals("Name", "bla", cal.getName());
+ Assert.assertEquals("Holidays size", 0, cal.getNonWorkingDays().size());
+
+ final WorkingWeek ww = new WorkingWeek().withWorkingDayFromCalendar(false, Calendar.MONDAY).withWorkingDayFromCalendar(
+ true, Calendar.TUESDAY).withWorkingDayFromCalendar(false, Calendar.WEDNESDAY).withWorkingDayFromCalendar(true,
+ Calendar.THURSDAY).withWorkingDayFromCalendar(false, Calendar.FRIDAY).withWorkingDayFromCalendar(true,
+ Calendar.SATURDAY).withWorkingDayFromCalendar(false, Calendar.SUNDAY);
+ cal.setWorkingWeek(getWorkingWeek(ww));
+
+ cal.setStartDate(newDate("2006-07-31")); // start date Monday
+ checkDate("start date Monday", cal, "2006-08-01");
+
+ cal.setStartDate(newDate("2006-08-01")); // start date Tuesday
+ checkDate("start date Tuesday", cal, "2006-08-01");
+
+ cal.setStartDate(newDate("2006-08-02")); // start date Wednesday
+ checkDate("start date Wednesday", cal, "2006-08-03");
+
+ cal.setStartDate(newDate("2006-08-03")); // start date Thursday
+ checkDate("start date Thursday", cal, "2006-08-03");
+
+ cal.setStartDate(newDate("2006-08-04")); // set on a Friday
+ checkDate("start date friday", cal, "2006-08-05");
+
+ cal.setStartDate(newDate("2006-08-05")); // set on a Saturday
+ checkDate("start date Saturday", cal, "2006-08-05");
+
+ cal.setStartDate(newDate("2006-08-06")); // set on a Sunday
+ checkDate("start date Sunday", cal, "2006-08-08");
+ }
+
+ public void testSimpleForwardStartDateIdealWeekend() {
+ final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ Assert.assertEquals("Name", "bla", cal.getName());
+ Assert.assertEquals("Holidays size", 0, cal.getNonWorkingDays().size());
+
+ final WorkingWeek ww = new WorkingWeek().withWorkingDayFromCalendar(false, Calendar.MONDAY).withWorkingDayFromCalendar(
+ true, Calendar.TUESDAY).withWorkingDayFromCalendar(true, Calendar.WEDNESDAY).withWorkingDayFromCalendar(true,
+ Calendar.THURSDAY).withWorkingDayFromCalendar(true, Calendar.FRIDAY).withWorkingDayFromCalendar(false,
+ Calendar.SATURDAY).withWorkingDayFromCalendar(false, Calendar.SUNDAY);
+ cal.setWorkingWeek(getWorkingWeek(ww));
+
+ cal.setStartDate(newDate("2006-07-31")); // start date Monday
+ checkDate("start date Monday", cal, "2006-08-01");
+
+ cal.setStartDate(newDate("2006-08-01")); // start date Tuesday
+ checkDate("start date Tuesday", cal, "2006-08-01");
+
+ cal.setStartDate(newDate("2006-08-02")); // start date Wednesday
+ checkDate("start date Wednesday", cal, "2006-08-02");
+
+ cal.setStartDate(newDate("2006-08-03")); // start date Thursday
+ checkDate("start date Thursday", cal, "2006-08-03");
+
+ cal.setStartDate(newDate("2006-08-04")); // set on a Friday
+ checkDate("start date friday", cal, "2006-08-04");
+
+ cal.setStartDate(newDate("2006-08-05")); // set on a Saturday
+ checkDate("start date Saturday", cal, "2006-08-08");
+
+ cal.setStartDate(newDate("2006-08-06")); // set on a Sunday
+ checkDate("start date Sunday", cal, "2006-08-08");
+ }
+
+ public void testSimpleForwardWithHolidays() {
+ final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ final Set<E> holidays = newHolidaysSet();
+ Assert.assertEquals("Name", "bla", cal.getName());
+ cal.setNonWorkingDays(holidays);
+ Assert.assertEquals("Holidays", holidays, cal.getNonWorkingDays());
+ Assert.assertEquals("Holidays size", 3, cal.getNonWorkingDays().size());
+
+ Assert.assertTrue("contains", holidays.contains(newDate("2006-08-28")));
+ Assert.assertTrue("contains", cal.getNonWorkingDays().contains(newDate("2006-08-28")));
+
+ cal.setStartDate(newDate("2006-08-28"));
+ checkDate("Move given Bank Holiday", cal, "2006-08-29");
+
+ cal.setStartDate(newDate("2006-12-24"));
+ checkDate("Xmas Eve", cal, "2006-12-27");
+
+ cal.setStartDate(newDate("2006-12-21"));
+ checkDate("21/12 + 1", cal.moveByDays(1), "2006-12-22");
+
+ cal.setStartDate(newDate("2006-12-21"));
+ checkDate("21/12 + 1", cal.moveByDays(2), "2006-12-27");
+
+ cal.setStartDate(newDate("2006-12-22"));
+ checkDate("22/12 + 1", cal.moveByDays(1), "2006-12-27");
+
+ cal.setStartDate(newDate("2006-12-23"));
+ checkDate("23/12 + 1", cal.moveByDays(1), "2006-12-28");
+
+ cal.setStartDate(newDate("2006-12-27"));
+ checkDate("27/12 - 1", cal.moveByDays(-1), "2006-12-22");
+ }
+
+ // -----------------------------------------------------------------------
+ //
+ // ObjectLab, world leaders in the design and development of bespoke
+ // applications for the securities financing markets.
+ // www.ObjectLab.co.uk
+ //
+ // -----------------------------------------------------------------------
+
+ public void testMoveByBusinessDays() {
+ final DateCalculator<E> cal = newDateCalculator("bla", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ final Set<E> holidays = newHolidaysSet();
+ Assert.assertEquals("Name", "bla", cal.getName());
+ cal.setNonWorkingDays(holidays);
+ Assert.assertEquals("Holidays", holidays, cal.getNonWorkingDays());
+ Assert.assertEquals("Holidays size", 3, cal.getNonWorkingDays().size());
+
+ cal.setStartDate(newDate("2006-08-24"));
+ checkDate("Move 1 BD", cal.moveByBusinessDays(1), "2006-08-25");
+
+ cal.setStartDate(newDate("2006-08-24"));
+ checkDate("Add 1 week", cal.moveByDays(7), "2006-08-31");
+ cal.setStartDate(newDate("2006-08-24"));
+ checkDate("Move by 1W with 1 bank holiday", cal.moveByBusinessDays(7), "2006-09-05");
+ }
+
+ public void testMoveByTenorDays() {
+ checkMoveByTenor("2006-08-08", StandardTenor.T_1D, 0, "2006-08-09", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.DAY), 0, "2006-08-10", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-08", new Tenor(10, TenorCode.DAY), 0, "2006-08-18", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-08", new Tenor(11, TenorCode.DAY), 0, "2006-08-21", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-08", new Tenor(12, TenorCode.DAY), 0, "2006-08-21", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-08", new Tenor(13, TenorCode.DAY), 0, "2006-08-21", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-09-26", new Tenor(4, TenorCode.DAY), 0, "2006-10-02", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ }
+
+ public void testMoveByTenorDaysOneDayToSpot() {
+ checkMoveByTenor("2006-08-08", StandardTenor.T_1D, 1, "2006-08-10", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.DAY), 1, "2006-08-11", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-07", new Tenor(10, TenorCode.DAY), 1, "2006-08-18", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-07", new Tenor(11, TenorCode.DAY), 1, "2006-08-21", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-07", new Tenor(12, TenorCode.DAY), 1, "2006-08-21", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-07", new Tenor(13, TenorCode.DAY), 1, "2006-08-21", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ }
+
+ public void testMoveByTenorDaysTwoDaysToSpot() {
+ checkMoveByTenor("2006-08-08", StandardTenor.T_1D, 2, "2006-08-11", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.DAY), 2, "2006-08-14", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-07", new Tenor(10, TenorCode.DAY), 2, "2006-08-21", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-07", new Tenor(11, TenorCode.DAY), 2, "2006-08-21", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-07", new Tenor(12, TenorCode.DAY), 2, "2006-08-21", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-07", new Tenor(13, TenorCode.DAY), 2, "2006-08-22", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ }
+
+ public void testMoveByTenorWeek() {
+ checkMoveByTenor("2006-08-08", StandardTenor.T_1W, 0, "2006-08-15", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.WEEK), 0, "2006-08-22", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-08", new Tenor(4, TenorCode.WEEK), 0, "2006-09-05", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ }
+
+ public void testMoveByTenorWeekOneDayToSpot() {
+ checkMoveByTenor("2006-08-08", StandardTenor.T_1W, 1, "2006-08-16", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.WEEK), 1, "2006-08-23", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-08", new Tenor(4, TenorCode.WEEK), 1, "2006-09-06", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ }
+
+ public void testMoveByTenorWeekTwoDaysToSpot() {
+ checkMoveByTenor("2006-08-08", StandardTenor.T_1W, 2, "2006-08-17", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.WEEK), 2, "2006-08-24", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-08", new Tenor(4, TenorCode.WEEK), 2, "2006-09-07", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ }
+
+ public void testMoveByTenorMonth() {
+ checkMoveByTenor("2006-08-31", StandardTenor.T_1M, 0, "2006-10-02", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-31", StandardTenor.T_2M, 0, "2006-10-31", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-01-31", StandardTenor.T_1M, 0, "2006-02-28", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2008-01-31", StandardTenor.T_1M, 0, "2008-02-29", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+
+ checkMoveByTenor("2006-08-08", StandardTenor.T_1M, 0, "2006-09-08", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-09", StandardTenor.T_1M, 0, "2006-09-11", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.MONTH), 0, "2006-10-09", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-08", new Tenor(5, TenorCode.MONTH), 0, "2007-01-08", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ }
+
+ public void testMoveByTenorMonthOneDayToSpot() {
+ checkMoveByTenor("2006-08-31", StandardTenor.T_1M, 1, "2006-10-02", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-31", StandardTenor.T_2M, 1, "2006-11-01", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-01-31", StandardTenor.T_1M, 1, "2006-03-01", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2008-01-31", StandardTenor.T_1M, 1, "2008-03-03", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+
+ checkMoveByTenor("2006-08-08", StandardTenor.T_1M, 1, "2006-09-11", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-09", StandardTenor.T_1M, 1, "2006-09-11", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.MONTH), 1, "2006-10-09", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-08", new Tenor(5, TenorCode.MONTH), 1, "2007-01-09", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ }
+
+ public void testMoveByTenorMonthTwoDaysToSpot() {
+ checkMoveByTenor("2006-08-31", StandardTenor.T_1M, 2, "2006-10-04", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-31", StandardTenor.T_2M, 2, "2006-11-06", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-01-31", StandardTenor.T_1M, 2, "2006-03-02", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2008-01-31", StandardTenor.T_1M, 2, "2008-03-04", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+
+ checkMoveByTenor("2006-08-08", StandardTenor.T_1M, 2, "2006-09-11", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-09", StandardTenor.T_1M, 2, "2006-09-11", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-08", new Tenor(2, TenorCode.MONTH), 2, "2006-10-10", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-08", new Tenor(5, TenorCode.MONTH), 2, "2007-01-10", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ }
+
+ public void testMoveByTenorYear() {
+ checkMoveByTenor("2006-08-31", StandardTenor.T_1Y, 0, "2007-08-31", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-31", StandardTenor.T_2Y, 0, "2008-09-01", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2008-02-29", StandardTenor.T_1Y, 0, "2009-03-02", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2008-02-29", StandardTenor.T_4Y, 0, "2012-02-29", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ }
+
+ public void testMoveByTenorYearOneDayToSpot() {
+ checkMoveByTenor("2006-08-31", StandardTenor.T_1Y, 1, "2007-09-03", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-31", StandardTenor.T_2Y, 1, "2008-09-01", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2008-02-29", StandardTenor.T_1Y, 1, "2009-03-03", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2008-02-29", StandardTenor.T_4Y, 1, "2012-03-05", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ }
+
+ public void testMoveByTenorYearTwoDaysToSpot() {
+ checkMoveByTenor("2006-08-31", StandardTenor.T_1Y, 2, "2007-09-04", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-31", StandardTenor.T_2Y, 2, "2008-09-04", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2008-02-29", StandardTenor.T_1Y, 2, "2009-03-03", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2008-02-29", StandardTenor.T_4Y, 2, "2012-03-05", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ }
+
+ public void testMoveByTenorSpot() {
+ checkMoveByTenor("2006-08-31", StandardTenor.SPOT, 0, "2006-08-31", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-28", StandardTenor.SPOT, 0, "2006-08-29", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ }
+
+ public void testMoveByTenorSpotOneDayToSpot() {
+ checkMoveByTenor("2006-08-31", StandardTenor.SPOT, 1, "2006-09-01", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-28", StandardTenor.SPOT, 1, "2006-08-30", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ }
+
+ public void testMoveByTenorSpotTwoDaysToSpot() {
+ checkMoveByTenor("2006-08-31", StandardTenor.SPOT, 2, "2006-09-04", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-28", StandardTenor.SPOT, 2, "2006-08-31", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ }
+
+ public void testMoveByTenorOvernight() {
+ checkMoveByTenor("2006-08-24", StandardTenor.OVERNIGHT, 0, "2006-08-25", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-25", StandardTenor.OVERNIGHT, 0, "2006-08-29", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-31", StandardTenor.OVERNIGHT, 0, "2006-09-01", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-28", StandardTenor.OVERNIGHT, 0, "2006-08-30", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ }
+
+ public void testMoveByTenorOvernightOneDayToSpot() {
+ checkMoveByTenor("2006-08-24", StandardTenor.OVERNIGHT, 1, "2006-08-25", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-25", StandardTenor.OVERNIGHT, 1, "2006-08-29", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-31", StandardTenor.OVERNIGHT, 1, "2006-09-01", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-28", StandardTenor.OVERNIGHT, 1, "2006-08-30", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ }
+
+ public void testMoveByTenorOvernightTwoDaysToSpot() {
+ checkMoveByTenor("2006-08-24", StandardTenor.OVERNIGHT, 2, "2006-08-25", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-25", StandardTenor.OVERNIGHT, 2, "2006-08-29", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-31", StandardTenor.OVERNIGHT, 2, "2006-09-01", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ checkMoveByTenor("2006-08-28", StandardTenor.OVERNIGHT, 2, "2006-08-30", HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
+ }
+}
+
+/*
+ * ObjectLab, http://www.objectlab.co.uk/open is sponsoring the ObjectLab Kit.
+ *
+ * Based in London, we are world leaders in the design and development
+ * of bespoke applications for the securities financing markets.
+ *
+ * <a href="http://www.objectlab.co.uk/open">Click here to learn more about us</a>
+ * ___ _ _ _ _ _
+ * / _ \| |__ (_) ___ ___| |_| | __ _| |__
+ * | | | | '_ \| |/ _ \/ __| __| | / _` | '_ \
+ * | |_| | |_) | | __/ (__| |_| |__| (_| | |_) |
+ * \___/|_.__// |\___|\___|\__|_____\__,_|_.__/
+ * |__/
+ *
+ * www.ObjectLab.co.uk
+ */
Modified: trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarDateCalculator.java
===================================================================
--- trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarDateCalculator.java 2006-11-03 15:59:19 UTC (rev 219)
+++ trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarDateCalculator.java 2006-11-13 22:39:54 UTC (rev 220)
@@ -84,13 +84,14 @@
// -----------------------------------------------------------------------
//
- // ObjectLab, world leaders in the design and development of bespoke
- // applications for the securities financing markets.
- // www.ObjectLab.co.uk
+ // ObjectLab, world leaders in the design and development of bespoke
+ // applications for the securities financing markets.
+ // www.ObjectLab.co.uk
//
// -----------------------------------------------------------------------
- public CalendarDateCalculator moveByDays(final int days) {
+ public CalendarDateCalculator moveByDays(final int days) {
+ setCurrentIncrement(days);
getCurrentBusinessDate().add(Calendar.DAY_OF_MONTH, days);
if (getHolidayHandler() != null) {
@@ -102,10 +103,11 @@
@Override
public DateCalculator<Calendar> moveByMonths(final int months) {
- final Calendar date = getCurrentBusinessDate();
- date.add(Calendar.MONTH,months);
+ setCurrentIncrement(months);
+ final Calendar date = getCurrentBusinessDate();
+ date.add(Calendar.MONTH, months);
- setCurrentBusinessDate(date);
+ setCurrentBusinessDate(date);
if (getHolidayHandler() != null) {
setCurrentBusinessDate(getHolidayHandler().moveCurrentDate(this));
Added: trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarForwardUnlessNegativeHandler.java
===================================================================
--- trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarForwardUnlessNegativeHandler.java (rev 0)
+++ trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarForwardUnlessNegativeHandler.java 2006-11-13 22:39:54 UTC (rev 220)
@@ -0,0 +1,111 @@
+/*
+ * ObjectLab, http://www.objectlab.co.uk/open is sponsoring the ObjectLab Kit.
+ *
+ * Based in London, we are world leaders in the design and development
+ * of bespoke applications for the securities financing markets.
+ *
+ * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a>
+ * ___ _ _ _ _ _
+ * / _ \| |__ (_) ___ ___| |_| | __ _| |__
+ * | | | | '_ \| |/ _ \/ __| __| | / _` | '_ \
+ * | |_| | |_) | | __/ (__| |_| |__| (_| | |_) |
+ * \___/|_.__// |\___|\___|\__|_____\__,_|_.__/
+ * |__/
+ *
+ * www.ObjectLab.co.uk
+ *
+ * $Id: CalendarForwardHandler.java 203 2006-10-11 12:53:07Z benoitx $
+ *
+ * Copyright 2006 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package net.objectlab.kit.datecalc.jdk;
+
+import java.util.Calendar;
+
+import net.objectlab.kit.datecalc.common.DateCalculator;
+import net.objectlab.kit.datecalc.common.HolidayHandler;
+import net.objectlab.kit.datecalc.common.HolidayHandlerType;
+
+/**
+ * A Jdk <code>Calendar</code> implementation of the
+ * {@link net.objectlab.kit.datecalc.common.HolidayHandler}, for the
+ * <strong>Forward</strong> algorithm.
+ *
+ * @author Marcin Jekot
+ * @author $LastChangedBy: benoitx $
+ * @version $Revision: 203 $ $Date: 2006-10-11 13:53:07 +0100 (Wed, 11 Oct 2006) $
+ */
+public class CalendarForwardUnlessNegativeHandler implements HolidayHandler<Calendar> {
+
+ /**
+ * If the current date of the give calculator is a non-working day, it will
+ * be moved according to the algorithm implemented.
+ *
+ * @param calculator
+ * the calculator
+ * @return the date which may have moved.
+ */
+ public Calendar moveCurrentDate(final DateCalculator<Calendar> calculator) {
+ return move(calculator, 1);
+ }
+
+ // -----------------------------------------------------------------------
+ //
+ // ObjectLab, world leaders in the design and development of bespoke
+ // applications for the securities financing markets.
+ // www.ObjectLab.co.uk
+ //
+ // -----------------------------------------------------------------------
+
+ protected Calendar move(final DateCalculator<Calendar> calculator, final int step) {
+ final Calendar cal = (Calendar) calculator.getCurrentBusinessDate().clone();
+
+ while (calculator.isNonWorkingDay(cal)) {
+ if (calculator.getCurrentIncrement() < 0) {
+ cal.add(Calendar.DAY_OF_MONTH, -step);
+ } else {
+ cal.add(Calendar.DAY_OF_MONTH, step);
+ }
+ }
+
+ return cal;
+ }
+
+ /**
+ * Give the type name for this algorithm.
+ *
+ * @return algorithm name.
+ */
+ public String getType() {
+ return HolidayHandlerType.FORWARD;
+ }
+}
+
+/*
+ * ObjectLab, http://www.objectlab.co.uk/open is sponsoring the ObjectLab Kit.
+ *
+ * Based in London, we are world leaders in the design and development
+ * of bespoke applications for the securities financing markets.
+ *
+ * <a href="http://www.objectlab.co.uk/open">Click here to learn more about us</a>
+ * ___ _ _ _ _ _
+ * / _ \| |__ (_) ___ ___| |_| | __ _| |__
+ * | | | | '_ \| |/ _ \/ __| __| | / _` | '_ \
+ * | |_| | |_) | | __/ (__| |_| |__| (_| | |_) |
+ * \___/|_.__// |\___|\___|\__|_____\__,_|_.__/
+ * |__/
+ *
+ * www.ObjectLab.co.uk
+ */
Modified: trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarKitCalculatorsFactory.java
===================================================================
--- trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarKitCalculatorsFactory.java 2006-11-03 15:59:19 UTC (rev 219)
+++ trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarKitCalculatorsFactory.java 2006-11-13 22:39:54 UTC (rev 220)
@@ -89,6 +89,8 @@
cal.setHolidayHandler(new CalendarModifiedFollowingHandler());
} else if (HolidayHandlerType.MODIFIED_PRECEEDING.equals(holidayHandlerType)) {
cal.setHolidayHandler(new CalendarModifiedPreceedingHandler());
+ } else if (HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK.equals(holidayHandlerType)) {
+ cal.setHolidayHandler(new CalendarForwardUnlessNegativeHandler());
} else {
throw new IllegalArgumentException("Unsupported HolidayHandler: " + holidayHandlerType);
}
Modified: trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateDateCalculator.java
===================================================================
--- trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateDateCalculator.java 2006-11-03 15:59:19 UTC (rev 219)
+++ trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateDateCalculator.java 2006-11-13 22:39:54 UTC (rev 220)
@@ -101,6 +101,8 @@
}
public DateCalculator<Date> moveByDays(final int days) {
+ setCurrentIncrement(days);
+ delegate.setCurrentIncrement(days);
delegate.setCurrentBusinessDate(Utils.getCal(getCurrentBusinessDate()));
setCurrentBusinessDate(delegate.moveByDays(days).getCurrentBusinessDate().getTime());
return this;
@@ -127,6 +129,8 @@
@Override
protected DateCalculator<Date> moveByMonths(final int months) {
+ setCurrentIncrement(months);
+ delegate.setCurrentIncrement(months);
delegate.setCurrentBusinessDate(Utils.getCal(getCurrentBusinessDate()));
setCurrentBusinessDate(delegate.moveByMonths(months).getCurrentBusinessDate().getTime());
return this;
Added: trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateForwardUnlessNegativeHandler.java
===================================================================
--- trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateForwardUnlessNegativeHandler.java (rev 0)
+++ trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateForwardUnlessNegativeHandler.java 2006-11-13 22:39:54 UTC (rev 220)
@@ -0,0 +1,114 @@
+/*
+ * ObjectLab, http://www.objectlab.co.uk/open is sponsoring the ObjectLab Kit.
+ *
+ * Based in London, we are world leaders in the design and development
+ * of bespoke applications for the securities financing markets.
+ *
+ * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a>
+ * ___ _ _ _ _ _
+ * / _ \| |__ (_) ___ ___| |_| | __ _| |__
+ * | | | | '_ \| |/ _ \/ __| __| | / _` | '_ \
+ * | |_| | |_) | | __/ (__| |_| |__| (_| | |_) |
+ * \___/|_.__// |\___|\___|\__|_____\__,_|_.__/
+ * |__/
+ *
+ * www.ObjectLab.co.uk
+ *
+ * $Id: DateForwardHandler.java 203 2006-10-11 12:53:07Z benoitx $
+ *
+ * Copyright 2006 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package net.objectlab.kit.datecalc.jdk;
+
+import java.util.Calendar;
+import java.util.Date;
+
+import net.objectlab.kit.datecalc.common.DateCalculator;
+import net.objectlab.kit.datecalc.common.HolidayHandler;
+import net.objectlab.kit.datecalc.common.HolidayHandlerType;
+import net.objectlab.kit.datecalc.common.Utils;
+
+/**
+ * A Jdk <code>Date</code> implementation of the
+ * {@link net.objectlab.kit.datecalc.common.HolidayHandler}, for the
+ * <strong>Forward</strong> algorithm.
+ *
+ * @author Marcin Jekot
+ * @author $LastChangedBy: benoitx $
+ * @version $Revision: 203 $ $Date: 2006-10-11 13:53:07 +0100 (Wed, 11 Oct 2006) $
+ *
+ */
+public class DateForwardUnlessNegativeHandler implements HolidayHandler<Date> {
+
+ /**
+ * If the current date of the give calculator is a non-working day, it will
+ * be moved according to the algorithm implemented.
+ *
+ * @param calculator
+ * the calculator
+ * @return the date which may have moved.
+ */
+ public Date moveCurrentDate(final DateCalculator<Date> calculator) {
+ return move(calculator, 1);
+ }
+
+ // -----------------------------------------------------------------------
+ //
+ // ObjectLab, world leaders in the design and development of bespoke
+ // applications for the securities financing markets.
+ // www.ObjectLab.co.uk
+ //
+ // -----------------------------------------------------------------------
+
+ protected Date move(final DateCalculator<Date> calculator, final int step) {
+ final Calendar cal = Utils.getCal(calculator.getCurrentBusinessDate());
+
+ while (calculator.isNonWorkingDay(cal.getTime())) {
+ if (calculator.getCurrentIncrement() < 0) {
+ cal.add(Calendar.DAY_OF_MONTH, -step);
+ } else {
+ cal.add(Calendar.DAY_OF_MONTH, step);
+ }
+ }
+
+ return cal.getTime();
+ }
+
+ /**
+ * Give the type name for this algorithm.
+ *
+ * @return algorithm name.
+ */
+ public String getType() {
+ return HolidayHandlerType.FORWARD;
+ }
+}
+
+/*
+ * ObjectLab, http://www.objectlab.co.uk/open is sponsoring the ObjectLab Kit.
+ *
+ * Based in London, we are world leaders in the design and development
+ * of bespoke applications for the securities financing markets.
+ *
+ * <a href="http://www.objectlab.co.uk/open">Click here to learn more about us</a>
+ * ___ _ _ _ _ _
+ * / _ \| |__ (_) ___ ___| |_| | __ _| |__
+ * | | | | '_ \| |/ _ \/ __| __| | / _` | '_ \
+ * | |_| | |_) | | __/ (__| |_| |__| (_| | |_) |
+ * \___/|_.__// |\___|\___|\__|_____\__,_|_.__/
+ * |__/
+ *
+ * www.ObjectLab.co.uk
+ */
Modified: trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateKitCalculatorsFactory.java
===================================================================
--- trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateKitCalculatorsFactory.java 2006-11-03 15:59:19 UTC (rev 219)
+++ trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateKitCalculatorsFactory.java 2006-11-13 22:39:54 UTC (rev 220)
@@ -89,6 +89,8 @@
cal.setHolidayHandler(new DateModifiedFollowingHandler());
} else if (HolidayHandlerType.MODIFIED_PRECEEDING.equals(holidayHandlerType)) {
cal.setHolidayHandler(new DateModifiedPreceedingHandler());
+ } else if (HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK.equals(holidayHandlerType)) {
+ cal.setHolidayHandler(new DateForwardUnlessNegativeHandler());
} else {
throw new IllegalArgumentException("Unsupported HolidayHandler: " + holidayHandlerType);
}
Added: trunk/datecalc-jdk/src/test/java/net/objectlab/kit/datecalc/jdk/JdkCalendarForwardUnlessNegativeCalculatorTest.java
===================================================================
--- trunk/datecalc-jdk/src/test/java/net/objectlab/kit/datecalc/jdk/JdkCalendarForwardUnlessNegativeCalculatorTest.java (rev 0)
+++ trunk/datecalc-jdk/src/test/java/net/objectlab/kit/datecalc/jdk/JdkCalendarForwardUnlessNegativeCalculatorTest.java 2006-11-13 22:39:54 UTC (rev 220)
@@ -0,0 +1,70 @@
+/*
+ * ObjectLab, http://www.objectlab.co.uk/open is sponsoring the ObjectLab Kit.
+ *
+ * Based in London, we are world leaders in the design and development
+ * of bespoke applications for the securities financing markets.
+ *
+ * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a>
+ * ___ _ _ _ _ _
+ * / _ \| |__ (_) ___ ___| |_| | __ _| |__
+ * | | | | '_ \| |/ _ \/ __| __| | / _` | '_ \
+ * | |_| | |_) | | __/ (__| |_| |__| (_| | |_) |
+ * \___/|_.__// |\___|\___|\__|_____\__,_|_.__/
+ * |__/
+ *
+ * www.ObjectLab.co.uk
+ *
+ * $Id: JdkCalendarForwardDateCalculatorTest.java 203 2006-10-11 12:53:07Z benoitx $
+ *
+ * Copyright 2006 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package net.objectlab.kit.datecalc.jdk;
+
+import java.util.Calendar;
+
+import net.objectlab.kit.datecalc.common.AbstractForwardUnlessNegativeCalculatorTest;
+import net.objectlab.kit.datecalc.common.KitCalculatorsFactory;
+import net.objectlab.kit.datecalc.common.Utils;
+
+public class JdkCalendarForwardUnlessNegativeCalculatorTest extends AbstractForwardUnlessNegativeCalculatorTest<Calendar> {
+
+ @Override
+ protected Calendar newDate(final String date) {
+ return Utils.createCalendar(date);
+ }
+
+ @Override
+ protected KitCalculatorsFactory<Calendar> getDateCalculatorFactory() {
+ return CalendarKitCalculatorsFactory.getDefaultInstance();
+ }
+
+}
+
+/*
+ * ObjectLab, http://www.objectlab.co.uk/open is sponsoring the ObjectLab Kit.
+ *
+ * Based in London, we are world leaders in the design and development
+ * of bespoke applications for the securities financing markets.
+ *
+ * <a href="http://www.objectlab.co.uk/open">Click here to learn more about us</a>
+ * ___ _ _ _ _ _
+ * / _ \| |__ (_) ___ ___| |_| | __ _| |__
+ * | | | | '_ \| |/ _ \/ __| __| | / _` | '_ \
+ * | |_| | |_) | | __/ (__| |_| |__| (_| | |_) |
+ * \___/|_.__// |\___|\___|\__|_____\__,_|_.__/
+ * |__/
+ *
+ * www.ObjectLab.co.uk
+ */
Modified: trunk/datecalc-jdk/src/test/java/net/objectlab/kit/datecalc/jdk/JdkDateForwardDateCalculatorTest.java
===================================================================
--- trunk/datecalc-jdk/src/test/java/net/objectlab/kit/datecalc/jdk/JdkDateForwardDateCalculatorTest.java 2006-11-03 15:59:19 UTC (rev 219)
+++ trunk/datecalc-jdk/src/test/java/net/objectlab/kit/datecalc/jdk/JdkDateForwardDateCalculatorTest.java 2006-11-13 22:39:54 UTC (rev 220)
@@ -33,10 +33,11 @@
package net.objectlab.kit.datecalc.jdk;
import net.objectlab.kit.datecalc.common.AbstractForwardDateCalculatorTest;
+import net.objectlab.kit.datecalc.common.AbstractForwardUnlessNegativeCalculatorTest;
import net.objectlab.kit.datecalc.common.KitCalculatorsFactory;
import net.objectlab.kit.datecalc.common.Utils;
-public class JdkDateForwardDateCalculatorTest extends AbstractForwardDateCalculatorTest {
+public class JdkDateForwardDateCalculatorTest extends AbstractForwardUnlessNegativeCalculatorTest {
@Override
protected Object newDate(final String date) {
Added: trunk/datecalc-jdk/src/test/java/net/objectlab/kit/datecalc/jdk/JdkDateForwardUnlessNegativeDateCalculatorTest.java
===================================================================
--- trunk/datecalc-jdk/src/test/java/net/objectlab/kit/datecalc/jdk/JdkDateForwardUnlessNegativeDateCalculatorTest.java (rev 0)
+++ trunk/datecalc-jdk/src/test/java/net/objectlab/kit/datecalc/jdk/JdkDateForwardUnlessNegativeDateCalculatorTest.java 2006-11-13 22:39:54 UTC (rev 220)
@@ -0,0 +1,67 @@
+/*
+ * ObjectLab, http://www.objectlab.co.uk/open is sponsoring the ObjectLab Kit.
+ *
+ * Based in London, we are world leaders in the design and development
+ * of bespoke applications for the securities financing markets.
+ *
+ * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a>
+ * ___ _ _ _ _ _
+ * / _ \| |__ (_) ___ ___| |_| | __ _| |__
+ * | | | | '_ \| |/ _ \/ __| __| | / _` | '_ \
+ * | |_| | |_) | | __/ (__| |_| |__| (_| | |_) |
+ * \___/|_.__// |\___|\___|\__|_____\__,_|_.__/
+ * |__/
+ *
+ * www.ObjectLab.co.uk
+ *
+ * $Id: JdkDateForwardDateCalculatorTest.java 203 2006-10-11 12:53:07Z benoitx $
+ *
+ * Copyright 2006 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package net.objectlab.kit.datecalc.jdk;
+
+import net.objectlab.kit.datecalc.common.AbstractForwardDateCalculatorTest;
+import net.objectlab.kit.datecalc.common.KitCalculatorsFactory;
+import net.objectlab.kit.datecalc.common.Utils;
+
+public class JdkDateForwardUnlessNegativeDateCalculatorTest extends AbstractForwardDateCalculatorTest {
+
+ @Override
+ protected Object newDate(final String date) {
+ return Utils.createDate(date);
+ }
+
+ @Override
+ protected KitCalculatorsFactory getDateCalculatorFactory() {
+ return DateKitCalculatorsFactory.getDefaultInstance();
+ }
+}
+
+/*
+ * ObjectLab, http://www.objectlab.co.uk/open is sponsoring the ObjectLab Kit.
+ *
+ * Based in London, we are world leaders in the design and development
+ * of bespoke applications for the securities financing markets.
+ *
+ * <a href="http://www.objectlab.co.uk/open">Click here to learn more about us</a>
+ * ___ _ _ _ _ _
+ * / _ \| |__ (_) ___ ___| |_| | __ _| |__
+ * | | | | '_ \| |/ _ \/ __| __| | / _` | '_ \
+ * | |_| | |_) | | __/ (__| |_| |__| (_| | |_) |
+ * \___/|_.__// |\___|\___|\__|_____\__,_|_.__/
+ * |__/
+ *
+ * www.ObjectLab.co.uk
+ */
Modified: trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateCalculator.java
===================================================================
--- trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateCalculator.java 2006-11-03 15:59:19 UTC (rev 219)
+++ trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateCalculator.java 2006-11-13 22:39:54 UTC (rev 220)
@@ -97,6 +97,8 @@
// -----------------------------------------------------------------------
public DateCalculator<LocalDate> moveByDays(final int days) {
+ setCurrentIncrement(days);
+
setCurrentBusinessDate(getCurrentBusinessDate().plusDays(days));
if (getHolidayHandler() != null) {
@@ -108,7 +110,9 @@
@Override
public DateCalculator<LocalDate> moveByMonths(final int months) {
- setCurrentBusinessDate(getCurrentBusinessDate().plusMonths(months));
+ setCurrentIncrement(months);
+
+ setCurrentBusinessDate(getCurrentBusinessDate().plusMonths(months));
if (getHolidayHandler() != null) {
setCurrentBusinessDate(getHolidayHandler().moveCurrentDate(this));
Added: trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateForwardUnlessNegativeHandler.java
===================================================================
--- trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateForwardUnlessNegativeHandler.java (rev 0)
+++ trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateForwardUnlessNegativeHandler.java 2006-11-13 22:39:54 UTC (rev 220)
@@ -0,0 +1,109 @@
+/*
+ * ObjectLab, http://www.objectlab.co.uk/open is sponsoring the ObjectLab Kit.
+ *
+ * Based in London, we are world leaders in the design and development
+ * of bespoke applications for the securities financing markets.
+ *
+ * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a>
+ * ___ _ _ _ _ _
+ * / _ \| |__ (_) ___ ___| |_| | __ _| |__
+ * | | | | '_ \| |/ _ \/ __| __| | / _` | '_ \
+ * | |_| | |_) | | __/ (__| |_| |__| (_| | |_) |
+ * \___/|_.__// |\___|\___|\__|_____\__,_|_.__/
+ * |__/
+ *
+ * www.ObjectLab.co.uk
+ *
+ * $Id: LocalDateForwardHandler.java 203 2006-10-11 12:53:07Z benoitx $
+ *
+ * Copyright 2006 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package net.objectlab.kit.datecalc.joda;
+
+import net.objectlab.kit.datecalc.common.DateCalculator;
+import net.objectlab.kit.datecalc.common.HolidayHandler;
+import net.objectlab.kit.datecalc.common.HolidayHandlerType;
+
+import org.joda.time.LocalDate;
+
+/**
+ * A Forward handler will move the date forward if it falls on a non working
+ * day.
+ *
+ * @author Benoit Xhenseval
+ * @author $LastChangedBy: benoitx $
+ * @version $Revision: 203 $ $Date: 2006-10-11 13:53:07 +0100 (Wed, 11 Oct 2006) $
+ *
+ */
+public class LocalDateForwardUnlessNegativeHandler implements HolidayHandler<LocalDate> {
+
+ /**
+ * If the current date of the give calculator is a non-working day, it will
+ * be moved according to the algorithm implemented.
+ *
+ * @param calculator
+ * the calculator
+ * @return the date which may have moved.
+ */
+ public LocalDate moveCurrentDate(final DateCalculator<LocalDate> calculator) {
+ return move(calculator, 1);
+ }
+
+ protected LocalDate move(final DateCalculator<LocalDate> calculator, final int step) {
+ LocalDate date = calculator.getCurrentBusinessDate();
+ if (calculator.getCurrentIncrement()<0) {
+ System.err.println(calculator.getCurrentBusinessDate()+" increment "+calculator.getCurrentIncrement()+ " step "+step);
+ }
+ while (calculator.isNonWorkingDay(date)) {
+ if (calculator.getCurrentIncrement() < 0) {
+ // act as a Backward calendar
+ date = date.minusDays(step);
+ } else {
+ // move forward by a day!
+ date = date.plusDays(step);
+ }
+ if (calculator.getCurrentIncrement()<0) {
+ System.err.println("CAlc "+date);
+ }
+ }
+ return date;
+ }
+
+ /**
+ * Give the type name for this algorithm.
+ *
+ * @return algorithm name.
+ */
+ public String getType() {
+ return HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK;
+ }
+}
+
+/*
+ * ObjectLab, http://www.objectlab.co.uk/open is sponsoring the ObjectLab Kit.
+ *
+ * Based in London, we are world leaders in the design and development
+ * of bespoke applications for the securities financing markets.
+ *
+ * <a href="http://www.objectlab.co.uk/open">Click here to learn more about us</a>
+ * ___ _ _ _ _ _
+ * / _ \| |__ (_) ___ ___| |_| | __ _| |__
+ * | | | | '_ \| |/ _ \/ __| __| | / _` | '_ \
+ * | |_| | |_) | | __/ (__| |_| |__| (_| | |_) |
+ * \___/|_.__// |\___|\___|\__|_____\__,_|_.__/
+ * |__/
+ *
+ * www.ObjectLab.co.uk
+ */
Modified: trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateKitCalculatorsFactory.java
===================================================================
--- trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateKitCalculatorsFactory.java 2006-11-03 15:59:19 UTC (rev 219)
+++ trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateKitCalculatorsFactory.java 2006-11-13 22:39:54 UTC (rev 220)
@@ -92,6 +92,8 @@
cal.setHolidayHandler(new LocalDateModifiedFollowingHandler());
} else if (HolidayHandlerType.MODIFIED_PRECEEDING.equals(holidayHandlerType)) {
cal.setHolidayHandler(new LocalDateModifiedPreceedingHandler());
+ } else if (HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK.equals(holidayHandlerType)) {
+ cal.setHolidayHandler(new LocalDateForwardUnlessNegativeHandler());
} else if (holidayHandlerType != null) {
throw new IllegalArgumentException("Unsupported HolidayHandler: " + holidayHandlerType);
}
Modified: trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/YearMonthDayDateCalculator.java
===================================================================
--- trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/YearMonthDayDateCalculator.java 2006-11-03 15:59:19 UTC (rev 219)
+++ trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/YearMonthDayDateCalculator.java 2006-11-13 22:39:54 UTC (rev 220)
@@ -102,6 +102,8 @@
}
public DateCalculator<YearM...
[truncated message content] |
|
From: <be...@us...> - 2006-11-03 15:59:31
|
Revision: 219
http://svn.sourceforge.net/objectlabkit/?rev=219&view=rev
Author: benoitx
Date: 2006-11-03 07:59:19 -0800 (Fri, 03 Nov 2006)
Log Message:
-----------
First cut at a 'range' feature...
Modified Paths:
--------------
trunk/common-build/project.properties
trunk/datecalc-common/project.xml
trunk/project.properties
Added Paths:
-----------
trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/DefaultHolidayCalendar.java
trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/HolidayCalendar.java
Modified: trunk/common-build/project.properties
===================================================================
--- trunk/common-build/project.properties 2006-10-21 17:13:39 UTC (rev 218)
+++ trunk/common-build/project.properties 2006-11-03 15:59:19 UTC (rev 219)
@@ -102,3 +102,5 @@
maven.pmd.targetjdk=1.5
maven.multiproject.navigation=independent
+
+maven.repo.remote=http://repo1.maven.org/maven,http://people.apache.org/repo/m1-snapshot-repository/
Modified: trunk/datecalc-common/project.xml
===================================================================
--- trunk/datecalc-common/project.xml 2006-10-21 17:13:39 UTC (rev 218)
+++ trunk/datecalc-common/project.xml 2006-11-03 15:59:19 UTC (rev 219)
@@ -52,6 +52,15 @@
<excludes>
<exclude>**/Abstract*.java</exclude>
</excludes>
+ <resources>
+ <resource>
+ <directory>src/test/java</directory>
+ <includes>
+ <include>**/*.txt</include>
+ </includes>
+ <filtering>false</filtering>
+ </resource>
+ </resources>
</unitTest>
</build>
Added: trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/DefaultHolidayCalendar.java
===================================================================
--- trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/DefaultHolidayCalendar.java (rev 0)
+++ trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/DefaultHolidayCalendar.java 2006-11-03 15:59:19 UTC (rev 219)
@@ -0,0 +1,110 @@
+/*
+ * ObjectLab, http://www.objectlab.co.uk/open is sponsoring the ObjectLab Kit.
+ *
+ * Based in London, we are world leaders in the design and development
+ * of bespoke applications for the securities financing markets.
+ *
+ * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a>
+ * ___ _ _ _ _ _
+ * / _ \| |__ (_) ___ ___| |_| | __ _| |__
+ * | | | | '_ \| |/ _ \/ __| __| | / _` | '_ \
+ * | |_| | |_) | | __/ (__| |_| |__| (_| | |_) |
+ * \___/|_.__// |\___|\___|\__|_____\__,_|_.__/
+ * |__/
+ *
+ * www.ObjectLab.co.uk
+ *
+ * $Id: DateCalculator.java 200 2006-10-10 20:15:58Z benoitx $
+ *
+ * Copyright 2006 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package net.objectlab.kit.datecalc.common;
+
+import java.util.Collections;
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * @TODO javadoc
+ *
+ * @author xhensevb
+ * @author $LastChangedBy: marchy $
+ * @version $Revision: 138 $ $Date: 2006-09-10 13:29:15 +0100 (Sun, 10 Sep 2006) $
+ *
+ */
+public class DefaultHolidayCalendar<E> implements HolidayCalendar<E> {
+ private Set<E> holidays;
+
+ private E earlyBoundary;
+
+ private E lateBoundary;
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see net.objectlab.kit.datecalc.common.HolidayCalendar#getEarlyBoundary()
+ */
+ public E getEarlyBoundary() {
+ return earlyBoundary;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see net.objectlab.kit.datecalc.common.HolidayCalendar#getHolidays()
+ */
+ public Set<E> getHolidays() {
+ return holidays;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see net.objectlab.kit.datecalc.common.HolidayCalendar#getLateBoundary()
+ */
+ public E getLateBoundary() {
+ return lateBoundary;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see net.objectlab.kit.datecalc.common.HolidayCalendar#setEarlyBoundary(java.lang.Object)
+ */
+ public void setEarlyBoundary(final E earlyBoundary) {
+ this.earlyBoundary = earlyBoundary;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see net.objectlab.kit.datecalc.common.HolidayCalendar#setHolidays(java.util.Set)
+ */
+ public void setHolidays(final Set<E> holidays) {
+ Set<E> s = new HashSet<E>();
+ s.addAll(holidays);
+
+ this.holidays = Collections.unmodifiableSet(s);
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see net.objectlab.kit.datecalc.common.HolidayCalendar#setLateBoundary(java.lang.Object)
+ */
+ public void setLateBoundary(final E lateBoundary) {
+ this.lateBoundary = lateBoundary;
+ }
+}
Added: trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/HolidayCalendar.java
===================================================================
--- trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/HolidayCalendar.java (rev 0)
+++ trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/HolidayCalendar.java 2006-11-03 15:59:19 UTC (rev 219)
@@ -0,0 +1,112 @@
+/*
+ * ObjectLab, http://www.objectlab.co.uk/open is sponsoring the ObjectLab Kit.
+ *
+ * Based in London, we are world leaders in the design and development
+ * of bespoke applications for the securities financing markets.
+ *
+ * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a>
+ * ___ _ _ _ _ _
+ * / _ \| |__ (_) ___ ___| |_| | __ _| |__
+ * | | | | '_ \| |/ _ \/ __| __| | / _` | '_ \
+ * | |_| | |_) | | __/ (__| |_| |__| (_| | |_) |
+ * \___/|_.__// |\___|\___|\__|_____\__,_|_.__/
+ * |__/
+ *
+ * www.ObjectLab.co.uk
+ *
+ * $Id: HolidayHandler.java 200 2006-10-10 20:15:58Z benoitx $
+ *
+ * Copyright 2006 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package net.objectlab.kit.datecalc.common;
+
+import java.util.Set;
+
+/**
+ * A Holiday Calendar not only defines a set of holiday dates but an early and
+ * late boundary for these dates, e.g. putting the holidays for 2006 in a set
+ * with limits of 1 Jan 2006 and 31 Dec 2006 means that 2006 is covered, not
+ * that 31 Dec is a holiday itself.
+ *
+ * @author Benoit Xhenseval
+ * @author $LastChangedBy: benoitx $
+ * @version $Revision: 200 $ $Date: 2006-10-10 21:15:58 +0100 (Tue, 10 Oct 2006) $
+ * @since 1.1
+ *
+ * @param <E>
+ * a representation of a date, typically JDK: Date, Calendar;
+ * Joda:LocalDate, YearMonthDay
+ *
+ */
+public interface HolidayCalendar<E> {
+ /**
+ * Returns an immutable set of holidays.
+ *
+ * @return an immutable copy of the holiday set.
+ */
+ Set<E> getHolidays();
+
+ /**
+ * Returns an immutable set of holidays.
+ *
+ * @return an immutable copy of the holiday set.
+ * @throws IllegalArgumentException if the holidays contains dates outside
+ * the range defined by earliest/latest dates.
+ */
+ void setHolidays(final Set<E> holidays);
+
+ /**
+ * Returns the earliest date covered by this HolidayCalendar.
+ * @return E the earliest date covered by this holiday calendar.
+ */
+ E getEarlyBoundary();
+
+ /**
+ * Sets the earliest date (must be <= first date in holiday set)
+ * @param earlyBoundary
+ */
+ void setEarlyBoundary(final E earlyBoundary);
+
+ /**
+ * Returns the latest date covered by this HolidayCalendar.
+ * @return E the latest date covered by this holiday calendar.
+ */
+ E getLateBoundary();
+
+ /**
+ * Sets the latest date (must be <= first date in holiday set)
+ * @param lateBoundary
+ */
+ void setLateBoundary(final E lateBoundary);
+}
+
+/*
+ * ObjectLab, http://www.objectlab.co.uk/open is sponsoring the ObjectLab Kit.
+ *
+ * Based in London, we are world leaders in the design and development of
+ * bespoke applications for the securities financing markets.
+ *
+ * <a href="http://www.objectlab.co.uk/open">Click here to learn more about us</a>
+ *
+ * ___ _ _ _ _ _
+ * / _ \| |__ (_) ___ ___| |_| | __ _| |__
+ * | | | | '_ \| |/ _ \/ __| __| | / _` | '_ \
+ * | |_| | |_) | | __/ (__| |_| |__| (_| | |_) |
+ * \___/|_.__// |\___|\___|\__|_____\__,_|_.__/
+ * |__/
+ *
+ *
+ * www.ObjectLab.co.uk
+ */
Modified: trunk/project.properties
===================================================================
--- trunk/project.properties 2006-10-21 17:13:39 UTC (rev 218)
+++ trunk/project.properties 2006-11-03 15:59:19 UTC (rev 219)
@@ -109,4 +109,6 @@
#do.obfuscation=false
#
-maven.ydoc.packages=net.objectlab.kit.*
\ No newline at end of file
+maven.ydoc.packages=net.objectlab.kit.*
+
+maven.repo.remote=http://repo1.maven.org/maven,http://people.apache.org/repo/m1-snapshot-repository/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: Google A. <goo...@go...> - 2006-11-02 04:26:48
|
Java The ObjectLab project has announced release 1.0.1 of Objectlab Kit for Java 1.5. ... ObjectLabKit 1.0.1: Date Calculators for Business and Finance ... <http://www.javarss.com/home.html> This once a day Google Alert is brought to you by Google... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove this Google Alert: http://www.google.com/alerts/remove?s=EAAAAIfnd2Id1jfwipBB4CiM3Aw&hl=en Create another Google Alert: http://www.google.com/alerts?hl=en Sign in to manage your alerts: http://www.google.com/alerts/manage?hl=en |
|
From: Google A. <goo...@go...> - 2006-10-30 23:56:39
|
Mailing list archives Do you have classes in the package net.objectlab.kit.common ? ... [C:\project\objectlabkit\datecalc-common/target/javadoc] [echo] sourceModifications not ... <http://mail-archives.apache.org/mod_mbox/maven-users/200609.mbox/%3C2...@we...%3E> This once a day Google Alert is brought to you by Google... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove this Google Alert: http://www.google.com/alerts/remove?s=EAAAAIfnd2Id1jfwipBB4CiM3Aw&hl=en Create another Google Alert: http://www.google.com/alerts?hl=en Sign in to manage your alerts: http://www.google.com/alerts/manage?hl=en |
|
From: Google A. <goo...@go...> - 2006-10-25 00:06:25
|
4.0.0 net.objectlab.kit.datecalc datecalc-jdk DateCalc JDK 1.0.1 ... 4.0.0 net.objectlab.kit.datecalc datecalc-jdk DateCalc JDK 1.0.1 This ... +0 scm:svn:https://svn.sourceforge.net/svnroot/objectlabkit/trunk/datecalc-jdk ... <http://www.ibiblio.org/maven/net.objectlab.kit.datecalc/poms/datecalc-jdk-1.0.1.pom> This once a day Google Alert is brought to you by Google... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Remove this Google Alert: http://www.google.com/alerts/remove?s=EAAAAIfnd2Id1jfwipBB4CiM3Aw&hl=en Create another Google Alert: http://www.google.com/alerts?hl=en Sign in to manage your alerts: http://www.google.com/alerts/manage?hl=en |