|
From: <ma...@us...> - 2007-01-08 15:44:33
|
Revision: 240
http://svn.sourceforge.net/objectlabkit/?rev=240&view=rev
Author: marchy
Date: 2007-01-08 07:44:23 -0800 (Mon, 08 Jan 2007)
Log Message:
-----------
deprecated ACT/UST and END/365 - as they're not very 'common' conventions.
also added a link to document describing day count conventions
Modified Paths:
--------------
trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/PeriodCountBasis.java
Modified: trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/PeriodCountBasis.java
===================================================================
--- trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/PeriodCountBasis.java 2007-01-05 21:16:25 UTC (rev 239)
+++ trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/PeriodCountBasis.java 2007-01-08 15:44:23 UTC (rev 240)
@@ -35,6 +35,9 @@
/**
* Defines some standard Day Count basis.
*
+ * You can refer to the following document to read about the most common Day Count conventions:
+ * {@link http://www.fincad.com/support/developerfunc/mathref/Daycount.htm}
+ *
* @author Benoit Xhenseval
* @author $LastChangedBy$
* @version $Revision$ $Date$
@@ -90,7 +93,19 @@
* the day count fraction is equal to the number of days between the last
* payment date and the next date divided by 365.
*/
- ACT_365, ACT_UST, END_365
+ ACT_365,
+
+ /**
+ * @deprecated this is not a common convention, and won't be included in future releases
+ */
+ @Deprecated
+ ACT_UST,
+
+ /**
+ * @deprecated this is not a common convention, and won't be included in future releases
+ */
+ @Deprecated
+ END_365
}
/*
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|