|
From: <be...@us...> - 2008-05-05 16:37:49
|
Revision: 263
http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=263&view=rev
Author: benoitx
Date: 2008-05-05 09:37:50 -0700 (Mon, 05 May 2008)
Log Message:
-----------
Fix http://sourceforge.net/tracker/index.php?func=detail&aid=1929838&group_id=175139&atid=872033
spelling mistake for MODIFIED_PRECEEDING
Modified Paths:
--------------
trunk/common-build/project.xml
trunk/datecalc-common/.classpath
trunk/datecalc-common/.project
trunk/datecalc-common/.settings/org.eclipse.jdt.core.prefs
trunk/datecalc-common/qalab.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-common/src/test/java/net/objectlab/kit/datecalc/common/AbstractDateCalculatorCombinationTest.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/AbstractModifiedPreceedingDateCalculatorTest.java
trunk/datecalc-jdk/.classpath
trunk/datecalc-jdk/.project
trunk/datecalc-jdk/.settings/org.eclipse.jdt.core.prefs
trunk/datecalc-jdk/qalab.xml
trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarKitCalculatorsFactory.java
trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarModifiedPreceedingHandler.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/DateModifiedPreceedingHandler.java
trunk/datecalc-joda/.classpath
trunk/datecalc-joda/.project
trunk/datecalc-joda/.settings/org.eclipse.jdt.core.prefs
trunk/datecalc-joda/qalab.xml
trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateKitCalculatorsFactory.java
trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateModifiedPreceedingHandler.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/YearMonthDayModifiedPreceedingHandler.java
trunk/src/site/changes.xml
trunk/statsvn.bat
Added Paths:
-----------
trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/CalendarModifiedPrecedingHandler.java
trunk/datecalc-jdk/src/main/java/net/objectlab/kit/datecalc/jdk/DateModifiedPrecedingHandler.java
trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/LocalDateModifiedPrecedingHandler.java
trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/YearMonthDayModifiedPrecedingHandler.java
Modified: trunk/common-build/project.xml
===================================================================
--- trunk/common-build/project.xml 2008-03-24 17:59:46 UTC (rev 262)
+++ trunk/common-build/project.xml 2008-05-05 16:37:50 UTC (rev 263)
@@ -1,171 +1,141 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- /*
- * ========================================================================
- * $Id$
- *
- * 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.
- * ========================================================================
- */
+ /*
+ * ========================================================================
+ * $Id$
+ *
+ * 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.
+ * ========================================================================
+ */
-->
-<project xmlns="http://maven.apache.org/POM/3.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- 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.1.0</currentVersion>
- <organization>
- <name>ObjectLab Financial Ltd</name>
- <url>http://www.objectlab.co.uk</url>
- <logo>
- http://www.objectlab.co.uk/images/objectlab-web-noblue.gif
- </logo>
- </organization>
- <inceptionYear>2006</inceptionYear>
- <url>http://objectlabkit.sourceforge.net</url>
- <issueTrackingUrl>
- http://www.sourceforge.net/tracker/?group_id=175139
- </issueTrackingUrl>
- <siteAddress>objectlabkit.sourceforge.net</siteAddress>
- <siteDirectory>
- /var/www/solutions/website/objectlab.co.uk/
- </siteDirectory>
- <repository>
- <url>http://objectlabkit.svn.sourceforge.net/svnroot/objectlabkit</url>
- <connection>
- scm:svn:https://objectlabkit.svn.sourceforge.net/svnroot/objectlabkit/trunk
- </connection>
- <developerConnection>
- scm:svn:https://objectlabkit.svn.sourceforge.net/svnroot/objectlabkit/trunk
- </developerConnection>
- </repository>
- <developers>
- <developer>
- <name>Benoit Xhenseval</name>
- <id>benoitx</id>
- <email>kit AT objectlab DOT co dOt uk</email>
- <organization>ObjectLab Financial Ltd</organization>
- <roles>
- <role>Team Leader</role>
- <role>Developer</role>
- </roles>
- <url>http://www.xhenseval.com</url>
- <timezone>+0</timezone>
- </developer>
- <developer>
- <name>Marcin Jekot</name>
- <id>marchy</id>
- <email>marchy at users dot sourceforge dot net</email>
- <organization>ObjectLab Financial Ltd</organization>
- <roles>
- <role>Developer</role>
- </roles>
- <timezone>+0</timezone>
- </developer>
- </developers>
- <!-- any mailing lists for the project -->
- <mailingLists>
- <mailingList>
- <name>News about ObjectLab's projects (Alerts online)</name>
- <subscribe>
- http://lists.sourceforge.net/lists/listinfo/objectlabkit-news
- </subscribe>
- <unsubscribe>
- http://lists.sourceforge.net/lists/listinfo/objectlabkit-news
- </unsubscribe>
- <post/>
- <archive>
- http://sourceforge.net/mailarchive/forum.php?forum=objectlabkit-news
- </archive>
- </mailingList>
- <mailingList>
- <name>Kit Announcements</name>
- <subscribe>
- http://lists.sourceforge.net/lists/listinfo/objectlabkit-announce
- </subscribe>
- <unsubscribe>
- http://lists.sourceforge.net/lists/listinfo/objectlabkit-announce
- </unsubscribe>
- <post/>
- <archive>
- http://sourceforge.net/mailarchive/forum.php?forum=objectlabkit-announce
- </archive>
- </mailingList>
- <mailingList>
- <name>Kit User</name>
- <subscribe>
- http://lists.sourceforge.net/lists/listinfo/objectlabkit-user
- </subscribe>
- <unsubscribe>
- http://lists.sourceforge.net/lists/listinfo/objectlabkit-user
- </unsubscribe>
- <post>obj...@li...</post>
- <archive>
- http://sourceforge.net/mailarchive/forum.php?forum=objectlabkit-user
- </archive>
- </mailingList>
- <mailingList>
- <name>Kit Developers (SVN checkins)</name>
- <subscribe>
- http://lists.sourceforge.net/lists/listinfo/objectlabkit-svn
- </subscribe>
- <unsubscribe>
- http://lists.sourceforge.net/lists/listinfo/objectlabkit-svn
- </unsubscribe>
- <post/>
- <archive>
- http://sourceforge.net/mailarchive/forum.php?forum=objectlabkit-svn
- </archive>
- </mailingList>
- </mailingLists>
+<project xmlns="http://maven.apache.org/POM/3.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ 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.2.0</currentVersion>
+ <organization>
+ <name>Appendium - Portfolio Financing Platform</name>
+ <url>http://www.appendium.com/</url>
+ <logo>http://www.appendium.com/openimages/appendium_logo.jpg</logo>
+ </organization>
+ <inceptionYear>2006</inceptionYear>
+ <url>http://objectlabkit.sourceforge.net</url>
+ <issueTrackingUrl>http://www.sourceforge.net/tracker/?group_id=175139</issueTrackingUrl>
+ <siteAddress>objectlabkit.sourceforge.net</siteAddress>
+ <siteDirectory>/var/www/solutions/website/objectlab.co.uk/</siteDirectory>
+ <repository>
+ <url>http://objectlabkit.svn.sourceforge.net/svnroot/objectlabkit</url>
+ <connection>scm:svn:https://objectlabkit.svn.sourceforge.net/svnroot/objectlabkit/trunk</connection>
+ <developerConnection>scm:svn:https://objectlabkit.svn.sourceforge.net/svnroot/objectlabkit/trunk</developerConnection>
+ </repository>
+ <developers>
+ <developer>
+ <name>Benoit Xhenseval</name>
+ <id>benoitx</id>
+ <email>kit AT appendium DOT com</email>
+ <organization>Appendium Ltd</organization>
+ <roles>
+ <role>Team Leader</role>
+ <role>Developer</role>
+ </roles>
+ <url>http://www.xhenseval.com</url>
+ <timezone>+0</timezone>
+ </developer>
+ <developer>
+ <name>Marcin Jekot</name>
+ <id>marchy</id>
+ <email>marchy at users dot sourceforge dot net</email>
+ <organization>ObjectLab Financial Ltd</organization>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ <timezone>+0</timezone>
+ </developer>
+ </developers>
+ <!-- any mailing lists for the project -->
+ <mailingLists>
+ <mailingList>
+ <name>News about ObjectLab's projects (Alerts online)</name>
+ <subscribe>http://lists.sourceforge.net/lists/listinfo/objectlabkit-news</subscribe>
+ <unsubscribe>http://lists.sourceforge.net/lists/listinfo/objectlabkit-news</unsubscribe>
+ <post />
+ <archive>http://sourceforge.net/mailarchive/forum.php?forum=objectlabkit-news</archive>
+ </mailingList>
+ <mailingList>
+ <name>Kit Announcements</name>
+ <subscribe>http://lists.sourceforge.net/lists/listinfo/objectlabkit-announce</subscribe>
+ <unsubscribe>http://lists.sourceforge.net/lists/listinfo/objectlabkit-announce</unsubscribe>
+ <post />
+ <archive>http://sourceforge.net/mailarchive/forum.php?forum=objectlabkit-announce</archive>
+ </mailingList>
+ <mailingList>
+ <name>Kit User</name>
+ <subscribe>http://lists.sourceforge.net/lists/listinfo/objectlabkit-user</subscribe>
+ <unsubscribe>http://lists.sourceforge.net/lists/listinfo/objectlabkit-user</unsubscribe>
+ <post>obj...@li...</post>
+ <archive>http://sourceforge.net/mailarchive/forum.php?forum=objectlabkit-user</archive>
+ </mailingList>
+ <mailingList>
+ <name>Kit Developers (SVN checkins)</name>
+ <subscribe>http://lists.sourceforge.net/lists/listinfo/objectlabkit-svn</subscribe>
+ <unsubscribe>http://lists.sourceforge.net/lists/listinfo/objectlabkit-svn</unsubscribe>
+ <post />
+ <archive>http://sourceforge.net/mailarchive/forum.php?forum=objectlabkit-svn</archive>
+ </mailingList>
+ </mailingLists>
- <build>
- <!-- We need to put here something other when we release it or I'll receive the emails from
- everyone who tries to use the project... -->
- <nagEmailAddress>ki...@ob...</nagEmailAddress>
- <defaultGoal>kit:build</defaultGoal>
- </build>
+ <build>
+ <!-- We need to put here something other when we release it or I'll receive the emails from
+ everyone who tries to use the project... -->
+ <nagEmailAddress>ki...@ob...</nagEmailAddress>
+ <defaultGoal>kit:build</defaultGoal>
+ </build>
- <reports>
- <report>maven-checkstyle-plugin</report>
- <report>maven-findbugs-plugin</report>
- <report>maven-pmd-plugin</report>
- <report>maven-simian-plugin</report>
- <report>maven-cobertura-plugin</report>
- <report>maven-qalab-plugin</report>
- <report>maven-ydoc-plugin</report>
- <report>maven-jdepend-plugin</report>
- <report>maven-faq-plugin</report>
- <report>maven-junit-report-plugin</report>
- <report>maven-jxr-plugin</report>
- <report>maven-tasklist-plugin</report>
- </reports>
+ <reports>
+ <report>maven-checkstyle-plugin</report>
+ <report>maven-findbugs-plugin</report>
+ <report>maven-pmd-plugin</report>
+ <report>maven-simian-plugin</report>
+ <report>maven-cobertura-plugin</report>
+ <report>maven-qalab-plugin</report>
+ <report>maven-ydoc-plugin</report>
+ <report>maven-jdepend-plugin</report>
+ <report>maven-faq-plugin</report>
+ <report>maven-junit-report-plugin</report>
+ <report>maven-jxr-plugin</report>
+ <report>maven-tasklist-plugin</report>
+ </reports>
- <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>
- </version>
- </versions>
+ <versions>
+ <version>
+ <id>1.1.0</id>
+ <name>1.1.0</name>
+ <tag>v1.1.0</tag>
+ </version>
+ <version>
+ <id>1.2.0</id>
+ <name>1.2.0</name>
+ <tag>v1.2.0</tag>
+ </version>
+ <version>
+ <id>1.0.1</id>
+ <name>1.0.1</name>
+ <tag>v1.0.1</tag>
+ </version>
+ </versions>
</project>
Modified: trunk/datecalc-common/.classpath
===================================================================
--- trunk/datecalc-common/.classpath 2008-03-24 17:59:46 UTC (rev 262)
+++ trunk/datecalc-common/.classpath 2008-05-05 16:37:50 UTC (rev 263)
@@ -1,7 +1,9 @@
-<classpath>
- <classpathentry kind="src" path="src/main/java"/>
- <classpathentry kind="src" path="src/test/java" output="target/test-classes"/>
- <classpathentry kind="output" path="target/classes"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar" sourcepath="M2_REPO/junit/junit/3.8.1/junit-3.8.1-sources.jar"/>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"></classpathentry>
+ <classpathentry excluding="" kind="src" path="src/main/java"></classpathentry>
+ <classpathentry output="target/test-classes" kind="src" path="src/test/java"></classpathentry>
+ <classpathentry kind="var" path="MAVEN_REPO/junit/jars/junit-3.8.2.jar"></classpathentry>
+ <classpathentry kind="output" path="target/classes"></classpathentry>
</classpath>
\ No newline at end of file
Modified: trunk/datecalc-common/.project
===================================================================
--- trunk/datecalc-common/.project 2008-03-24 17:59:46 UTC (rev 262)
+++ trunk/datecalc-common/.project 2008-05-05 16:37:50 UTC (rev 263)
@@ -1,13 +1,16 @@
-<projectDescription>
- <name>datecalc-common</name>
- <comment>Common Date Calculator Code</comment>
- <projects/>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<projectDescription>
+ <name>datecalc-common</name>
+ <comment>DateCalc Common library is the library used by both JDK and JODA libraries.</comment>
+ <projects></projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments></arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
</projectDescription>
\ No newline at end of file
Modified: trunk/datecalc-common/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/datecalc-common/.settings/org.eclipse.jdt.core.prefs 2008-03-24 17:59:46 UTC (rev 262)
+++ trunk/datecalc-common/.settings/org.eclipse.jdt.core.prefs 2008-05-05 16:37:50 UTC (rev 263)
@@ -1,251 +1,9 @@
-#Mon Mar 24 16:47:07 GMT 2008
-org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
-org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
-org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
-org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
-org.eclipse.jdt.core.formatter.blank_lines_before_method=1
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.comment.format_html=true
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines=false
-org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
-org.eclipse.jdt.core.formatter.tabulation.size=4
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
-org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.tabulation.char=space
-org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=true
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
-org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
-org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
-org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
-org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
-org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.blank_lines_before_field=1
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
-org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
-org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
-org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
-org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
-org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.comment.format_comments=false
-org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
-org.eclipse.jdt.core.formatter.lineSplit=131
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation=insert
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.blank_lines_before_package=0
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
-org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
-org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
-org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.comment.format_header=false
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
-eclipse.preferences.version=1
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
-org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
-org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
-org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
-org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
-org.eclipse.jdt.core.formatter.indentation.size=8
-org.eclipse.jdt.core.formatter.alignment_for_assignment=0
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.blank_lines_after_package=1
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.indent_empty_lines=false
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
-org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
-org.eclipse.jdt.core.formatter.compact_else_if=true
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.compiler.source=1.5
-org.eclipse.jdt.core.formatter.comment.format_source_code=true
-org.eclipse.jdt.core.formatter.comment.line_length=80
-org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
-org.eclipse.jdt.core.formatter.continuation_indentation=2
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
+
+
+
+
+
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=5
+org.eclipse.jdt.core.compiler.compliance=5
+org.eclipse.jdt.core.compiler.source=1.5
Modified: trunk/datecalc-common/qalab.xml
===================================================================
--- trunk/datecalc-common/qalab.xml 2008-03-24 17:59:46 UTC (rev 262)
+++ trunk/datecalc-common/qalab.xml 2008-05-05 16:37:50 UTC (rev 263)
@@ -197,6 +197,14 @@
project="objectlabkit" statvalue="45" type="cobertura-line"/>
<summaryresult date="2008-03-24" filecount="20" module="common"
project="objectlabkit" statvalue="33" type="cobertura-branch"/>
+ <summaryresult date="2008-03-27" filecount="21" module="common"
+ project="objectlabkit" statvalue="1" type="checkstyle"/>
+ <summaryresult date="2008-03-27" filecount="2" module="common"
+ project="objectlabkit" statvalue="2" type="findbugs"/>
+ <summaryresult date="2008-03-27" filecount="20" module="common"
+ project="objectlabkit" statvalue="45" type="cobertura-line"/>
+ <summaryresult date="2008-03-27" filecount="20" module="common"
+ project="objectlabkit" statvalue="33" type="cobertura-branch"/>
</summary>
<file
id="objectlabkit-common-net_objectlab_kit_datecalc_common_package.html"
@@ -286,6 +294,9 @@
<result date="2008-03-24" statvalue="1" type="findbugs"/>
<result date="2008-03-24" statvalue="100" type="cobertura-line"/>
<result date="2008-03-24" statvalue="92" type="cobertura-branch"/>
+ <result date="2008-03-27" statvalue="1" type="findbugs"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-line"/>
+ <result date="2008-03-27" statvalue="92" type="cobertura-branch"/>
</file>
<file
id="objectlabkit-common-net_objectlab_kit_datecalc_common_WorkingWeek.java"
@@ -363,6 +374,8 @@
<result date="2007-01-22" statvalue="100" type="cobertura-branch"/>
<result date="2008-03-24" statvalue="95" type="cobertura-line"/>
<result date="2008-03-24" statvalue="90" type="cobertura-branch"/>
+ <result date="2008-03-27" statvalue="95" type="cobertura-line"/>
+ <result date="2008-03-27" statvalue="90" type="cobertura-branch"/>
</file>
<file
id="objectlabkit-common-net_objectlab_kit_datecalc_common_TenorCode.java"
@@ -432,6 +445,8 @@
<result date="2007-01-22" statvalue="100" type="cobertura-branch"/>
<result date="2008-03-24" statvalue="100" type="cobertura-line"/>
<result date="2008-03-24" statvalue="100" type="cobertura-branch"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-line"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="objectlabkit-common-net_objectlab_kit_datecalc_common_HolidayHandlerType.java"
@@ -469,6 +484,7 @@
<result date="2007-01-09" statvalue="100" type="cobertura-branch"/>
<result date="2007-01-22" statvalue="100" type="cobertura-branch"/>
<result date="2008-03-24" statvalue="100" type="cobertura-branch"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="objectlabkit-common-net_objectlab_kit_datecalc_common_PeriodCountBasis.java"
@@ -504,6 +520,7 @@
<result date="2007-01-09" statvalue="100" type="cobertura-branch"/>
<result date="2007-01-22" statvalue="100" type="cobertura-branch"/>
<result date="2008-03-24" statvalue="100" type="cobertura-branch"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="objectlabkit-common-net_objectlab_kit_datecalc_common_StandardTenor.java"
@@ -572,6 +589,8 @@
<result date="2007-01-22" statvalue="100" type="cobertura-branch"/>
<result date="2008-03-24" statvalue="93" type="cobertura-line"/>
<result date="2008-03-24" statvalue="100" type="cobertura-branch"/>
+ <result date="2008-03-27" statvalue="93" type="cobertura-line"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="objectlabkit-common-net_objectlab_kit_datecalc_common_AbstractDateCalculator.java"
@@ -583,6 +602,8 @@
<result date="2007-01-22" statvalue="1" type="checkstyle"/>
<result date="2008-03-24" statvalue="1" type="checkstyle"/>
<result date="2008-03-24" statvalue="1" type="findbugs"/>
+ <result date="2008-03-27" statvalue="1" type="checkstyle"/>
+ <result date="2008-03-27" statvalue="1" type="findbugs"/>
</file>
<file
id="objectlabkit-common-net_objectlab_kit_datecalc_common_DateCalculatorGeneric.java"
@@ -647,6 +668,8 @@
<result date="2007-01-22" statvalue="100" type="cobertura-branch"/>
<result date="2008-03-24" statvalue="100" type="cobertura-line"/>
<result date="2008-03-24" statvalue="100" type="cobertura-branch"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-line"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="objectlabkit-common-net_objectlab_kit_datecalc_common_HolidayHandler.java"
@@ -706,6 +729,8 @@
<result date="2007-01-22" statvalue="100" type="cobertura-branch"/>
<result date="2008-03-24" statvalue="100" type="cobertura-line"/>
<result date="2008-03-24" statvalue="100" type="cobertura-branch"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-line"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="objectlabkit-common-net_objectlab_kit_datecalc_common_AbstractDateCalculatorFactory.java"
@@ -796,6 +821,8 @@
<result date="2007-01-22" statvalue="100" type="cobertura-branch"/>
<result date="2008-03-24" statvalue="100" type="cobertura-line"/>
<result date="2008-03-24" statvalue="100" type="cobertura-branch"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-line"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="objectlabkit-common-net_objectlab_kit_datecalc_common_Utils.java"
@@ -848,6 +875,8 @@
<result date="2007-01-22" statvalue="85" type="cobertura-branch"/>
<result date="2008-03-24" statvalue="77" type="cobertura-line"/>
<result date="2008-03-24" statvalue="64" type="cobertura-branch"/>
+ <result date="2008-03-27" statvalue="77" type="cobertura-line"/>
+ <result date="2008-03-27" statvalue="64" type="cobertura-branch"/>
</file>
<file
id="objectlabkit-common-net_objectlab_kit_datecalc_common_IMMPeriod.java"
@@ -876,6 +905,7 @@
<result date="2007-01-09" statvalue="100" type="cobertura-branch"/>
<result date="2007-01-22" statvalue="100" type="cobertura-branch"/>
<result date="2008-03-24" statvalue="100" type="cobertura-branch"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="objectlabkit-common-net_objectlab_kit_datecalc_common_ExcelDateUtil.java"
@@ -925,6 +955,8 @@
<result date="2007-01-22" statvalue="83" type="cobertura-branch"/>
<result date="2008-03-24" statvalue="82" type="cobertura-line"/>
<result date="2008-03-24" statvalue="83" type="cobertura-branch"/>
+ <result date="2008-03-27" statvalue="82" type="cobertura-line"/>
+ <result date="2008-03-27" statvalue="83" type="cobertura-branch"/>
</file>
<file
id="objectlabkit-common-net_objectlab_kit_datecalc_common_IMMDateCalculator.java"
@@ -972,6 +1004,8 @@
<result date="2007-01-22" statvalue="100" type="cobertura-branch"/>
<result date="2008-03-24" statvalue="100" type="cobertura-line"/>
<result date="2008-03-24" statvalue="100" type="cobertura-branch"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-line"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="objectlabkit-common-net_objectlab_kit_datecalc_common_AbstractIMMDateCalculator.java"
@@ -998,6 +1032,7 @@
<result date="2007-01-09" statvalue="100" type="cobertura-branch"/>
<result date="2007-01-22" statvalue="100" type="cobertura-branch"/>
<result date="2008-03-24" statvalue="100" type="cobertura-branch"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="objectlabkit-common-net_objectlab_kit_datecalc_common_KitCalculatorsFactory.java"
@@ -1041,6 +1076,8 @@
<result date="2007-01-22" statvalue="100" type="cobertura-branch"/>
<result date="2008-03-24" statvalue="100" type="cobertura-line"/>
<result date="2008-03-24" statvalue="100" type="cobertura-branch"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-line"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="objectlabkit-common-net_objectlab_kit_datecalc_common_HolidayCalendar.java"
@@ -1056,6 +1093,8 @@
<result date="2007-01-22" statvalue="100" type="cobertura-branch"/>
<result date="2008-03-24" statvalue="100" type="cobertura-line"/>
<result date="2008-03-24" statvalue="100" type="cobertura-branch"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-line"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="objectlabkit-common-net_objectlab_kit_datecalc_common_DefaultHolidayCalendar.java"
@@ -1071,6 +1110,7 @@
<result date="2007-01-09" statvalue="100" type="cobertura-branch"/>
<result date="2007-01-22" statvalue="100" type="cobertura-branch"/>
<result date="2008-03-24" statvalue="100" type="cobertura-branch"/>
+ <result date="2008-03-27" statvalue="100" type="cobertura-branch"/>
</file>
<file
id="objectlabkit-common-net_objectlab_kit_datecalc_common_AbstractDateCalculator.java"
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 2008-03-24 17:59:46 UTC (rev 262)
+++ trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/AbstractDateCalculator.java 2008-05-05 16:37:50 UTC (rev 263)
@@ -36,6 +36,7 @@
import static net.objectlab.kit.datecalc.common.HolidayHandlerType.FORWARD;
import static net.objectlab.kit.datecalc.common.HolidayHandlerType.MODIFIED_FOLLOWING;
import static net.objectlab.kit.datecalc.common.HolidayHandlerType.MODIFIED_PRECEEDING;
+import static net.objectlab.kit.datecalc.common.HolidayHandlerType.MODIFIED_PRECEDING;
import java.util.ArrayList;
import java.util.Collections;
@@ -75,8 +76,7 @@
private int currentIncrement = 0;
- protected AbstractDateCalculator(final String name, final HolidayCalendar<E> holidayCalendar,
- final HolidayHandler<E> holidayHandler) {
+ protected AbstractDateCalculator(final String name, final HolidayCalendar<E> holidayCalendar, final HolidayHandler<E> holidayHandler) {
this.name = name;
if (holidayCalendar != null) {
this.holidayCalendar = new ImmutableHolidayCalendar<E>(holidayCalendar);
@@ -307,14 +307,14 @@
}
public DateCalculator<E> moveByBusinessDays(final int businessDays) {
- if (businessDays > 0 && holidayHandler != null
- && (holidayHandler.getType().equals(BACKWARD) || holidayHandler.getType().equals(MODIFIED_PRECEEDING))) {
- throw new IllegalArgumentException("A " + MODIFIED_PRECEEDING + " or " + BACKWARD
- + " does not allow positive steps for moveByBusinessDays");
+ if (businessDays > 0
+ && holidayHandler != null
+ && (holidayHandler.getType().equals(BACKWARD) || holidayHandler.getType().equals(MODIFIED_PRECEEDING) || holidayHandler.getType().equals(
+ MODIFIED_PRECEDING))) {
+ throw new IllegalArgumentException("A " + MODIFIED_PRECEDING + " or " + BACKWARD + " does not allow positive steps for moveByBusinessDays");
} else if (businessDays < 0 && holidayHandler != null
&& (holidayHandler.getType().equals(FORWARD) || holidayHandler.getType().equals(MODIFIED_FOLLOWING))) {
- throw new IllegalArgumentException("A " + MODIFIED_FOLLOWING + " or " + FORWARD
- + " does not allow negative steps for moveByBusinessDays");
+ throw new IllegalArgumentException("A " + MODIFIED_FOLLOWING + " or " + FORWARD + " does not allow negative steps for moveByBusinessDays");
}
final int numberOfStepsLeft = Math.abs(businessDays);
@@ -355,13 +355,13 @@
}
final HolidayCalendar<E> calendarToCombine = calculator.getHolidayCalendar();
- if (calendarToCombine.getEarlyBoundary() != null && holidayCalendar.getEarlyBoundary() == null
- || calendarToCombine.getEarlyBoundary() == null && holidayCalendar.getEarlyBoundary() != null) {
+ if (calendarToCombine.getEarlyBoundary() != null && holidayCalendar.getEarlyBoundary() == null || calendarToCombine.getEarlyBoundary() == null
+ && holidayCalendar.getEarlyBoundary() != null) {
throw new IllegalArgumentException("Both Calendar to be combined must either have each Early boundaries or None.");
}
- if (calendarToCombine.getLateBoundary() != null && holidayCalendar.getLateBoundary() == null
- || calendarToCombine.getLateBoundary() == null && holidayCalendar.getLateBoundary() != null) {
+ if (calendarToCombine.getLateBoundary() != null && holidayCalendar.getLateBoundary() == null || calendarToCombine.getLateBoundary() == null
+ && holidayCalendar.getLateBoundary() != null) {
throw new IllegalArgumentException("Both Calendar to be combined must either have each Late boundaries or None.");
}
@@ -369,12 +369,10 @@
newSet.addAll(calendarToCombine.getHolidays());
}
- final HolidayCalendar<E> newCal = new DefaultHolidayCalendar<E>(newSet, compareDate(holidayCalendar.getEarlyBoundary(),
- calendarToCombine.getEarlyBoundary(), false), compareDate(holidayCalendar.getLateBoundary(), calendarToCombine
- .getLateBoundary(), true));
+ final HolidayCalendar<E> newCal = new DefaultHolidayCalendar<E>(newSet, compareDate(holidayCalendar.getEarlyBoundary(), calendarToCombine
+ .getEarlyBoundary(), false), compareDate(holidayCalendar.getLateBoundary(), calendarToCombine.getLateBoundary(), true));
- final DateCalculator<E> cal = createNewCalculator(getName() + "/" + calculator.getName(), getStartDate(), newCal,
- holidayHandler);
+ final DateCalculator<E> cal = createNewCalculator(getName() + "/" + calculator.getName(), getStartDate(), newCal, holidayHandler);
return cal;
}
@@ -383,8 +381,7 @@
protected abstract E compareDate(E date1, E date2, boolean returnEarliest);
- protected abstract DateCalculator<E> createNewCalculator(String calcName, E theStartDate, HolidayCalendar<E> holidays,
- HolidayHandler<E> handler);
+ protected abstract DateCalculator<E> createNewCalculator(String calcName, E theStartDate, HolidayCalendar<E> holidays, HolidayHandler<E> handler);
/**
* @return Returns the 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 2008-03-24 17:59:46 UTC (rev 262)
+++ trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/DateCalculator.java 2008-05-05 16:37:50 UTC (rev 263)
@@ -213,7 +213,7 @@
* @return the current DateCalculator (so one can do
* calendar.moveByBusinessDays(2).getCurrentBusinessDate();)
* @exception IllegalArgumentException
- * if the HolidayHandlerType is (MODIFIED_PRECEEDING or
+ * if the HolidayHandlerType is (MODIFIED_PRECEDING or
* BACKWARD) and businessDays > 0 or (MODIFIED_FOLLOWING or
* FORWARD) and businessDays < 0
*/
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 2008-03-24 17:59:46 UTC (rev 262)
+++ trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/HolidayHandlerType.java 2008-05-05 16:37:50 UTC (rev 263)
@@ -73,10 +73,19 @@
* A modified preceeding handler will move the date backward if it falls on
* a non working day BUT, if the new date falls into another month, it will
* revert to moving forward until it finds a working day.
+ * @deprecated uses MODIFIED_PRECEDING (spelling...)
*/
+ @Deprecated
public static final String MODIFIED_PRECEEDING = "modifiedPreceeding";
/**
+ * A modified preceding handler will move the date backward if it falls on
+ * a non working day BUT, if the new date falls into another month, it will
+ * revert to moving forward until it finds a working day.
+ */
+ public static final String MODIFIED_PRECEDING = "modifiedPreceding";
+
+ /**
* A handler that moves the date forward unless the increment is negative
* (eg moveByDays(-2)) in which case it behaves like a Backward handler.
*/
Modified: trunk/datecalc-common/src/test/java/net/objectlab/kit/datecalc/common/AbstractDateCalculatorCombinationTest.java
===================================================================
--- trunk/datecalc-common/src/test/java/net/objectlab/kit/datecalc/common/AbstractDateCalculatorCombinationTest.java 2008-03-24 17:59:46 UTC (rev 262)
+++ trunk/datecalc-common/src/test/java/net/objectlab/kit/datecalc/common/AbstractDateCalculatorCombinationTest.java 2008-05-05 16:37:50 UTC (rev 263)
@@ -177,7 +177,7 @@
checkInvalidEarlyBoundary(HolidayHandlerType.BACKWARD);
checkInvalidEarlyBoundary(HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
checkInvalidEarlyBoundary(HolidayHandlerType.MODIFIED_FOLLOWING);
- checkInvalidEarlyBoundary(HolidayHandlerType.MODIFIED_PRECEEDING);
+ checkInvalidEarlyBoundary(HolidayHandlerType.MODIFIED_PRECEDING);
}
public void checkInvalidEarlyBoundary(final String type) {
@@ -209,7 +209,7 @@
checkInvalidLateBoundary(HolidayHandlerType.BACKWARD);
checkInvalidLateBoundary(HolidayHandlerType.FORWARD_UNLESS_MOVING_BACK);
checkInvalidLateBoundary(HolidayHandlerType.MODIFIED_FOLLOWING);
- checkInvalidLateBoundary(HolidayHandlerType.MODIFIED_PRECEEDING);
+ checkInvalidLateBoundary(HolidayHandlerType.MODIFIED_PRECEDING);
}
public void checkInvalidLateBoundary(final String type) {
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 2008-03-24 17:59:46 UTC (rev 262)
+++ trunk/datecalc-common/src/test/java/net/objectlab/kit/datecalc/common/AbstractDateCalculatorFactoryTest.java 2008-05-05 16:37:50 UTC (rev 263)
@@ -87,8 +87,8 @@
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());
+ cal1 = getDateCalculatorFactory().getDateCalculator("bla", HolidayHandlerType.MODIFIED_PRECEDING);
+ Assert.assertEquals("Type", HolidayHandlerType.MODIFIED_PRECEDING, cal1.getHolidayHandlerType());
}
public void testGetIncorrectAlgo() {
Modified: trunk/datecalc-common/src/test/java/net/objectlab/kit/datecalc/common/AbstractModifiedPreceedingDateCalculatorTest.java
===================================================================
--- trunk/datecalc-common/src/test/java/net/objectlab/kit/datecalc/common/AbstractModifiedPreceedingDateCalculatorTest.java 2008-03-24 17:59:46 UTC (rev 262)
+++ trunk/datecalc-common/src/test/java/net/objectlab/kit/datecalc/common/AbstractModifiedPreceedingDateCalcul...
[truncated message content] |