|
From: <be...@us...> - 2006-09-05 09:31:36
|
Revision: 106
http://svn.sourceforge.net/objectlabkit/?rev=106&view=rev
Author: benoitx
Date: 2006-09-05 02:31:32 -0700 (Tue, 05 Sep 2006)
Log Message:
-----------
mistake use DateCalculator rather than DateCalculatorFactory, thanks Marcin
Modified Paths:
--------------
trunk/src/site/index.xml
Modified: trunk/src/site/index.xml
===================================================================
--- trunk/src/site/index.xml 2006-09-05 09:29:03 UTC (rev 105)
+++ trunk/src/site/index.xml 2006-09-05 09:31:32 UTC (rev 106)
@@ -59,14 +59,14 @@
<h4>JDK</h4>
<p>2 implementations for Pure JDK have been released</p>
<ol>
- <li><strong>Calendar:</strong><pre>DateCalculatorFactory<Calendar> calc = DefaultJdkCalendarCalculatorFactory.getDefaultInstance().getDateCalculator("UK", HolidayHandlerType.FORWARD);</pre></li>
- <li><strong>Date:</strong><pre>DateCalculatorFactory<Date> calc = DefaultJdkDateCalculatorFactory.getDefaultInstance().getDateCalculator("UK", HolidayHandlerType.FORWARD);</pre></li>
+ <li><strong>Calendar:</strong><pre>DateCalculator<Calendar> calc = DefaultJdkCalendarCalculatorFactory.getDefaultInstance().getDateCalculator("UK", HolidayHandlerType.FORWARD);</pre></li>
+ <li><strong>Date:</strong><pre>DateCalculator<Date> calc = DefaultJdkDateCalculatorFactory.getDefaultInstance().getDateCalculator("UK", HolidayHandlerType.FORWARD);</pre></li>
</ol>
<h4>JODA</h4>
<p>2 implementations for Joda have been released</p>
<ol>
- <li><strong>LocalDate</strong> (preferred):<pre>DateCalculatorFactory<LocalDate> calc = DefaultLocalDateCalculatorFactory.getDefaultInstance().getDateCalculator("UK", HolidayHandlerType.FORWARD);</pre></li>
- <li><strong>YearMonthDay:</strong><pre>DateCalculatorFactory<YearMonthDay> calc = DefaultYearMonthDayCalculatorFactory.getDefaultInstance().getDateCalculator("UK", HolidayHandlerType.FORWARD);</pre></li>
+ <li><strong>LocalDate</strong> (preferred):<pre>DateCalculator<LocalDate> calc = DefaultLocalDateCalculatorFactory.getDefaultInstance().getDateCalculator("UK", HolidayHandlerType.FORWARD);</pre></li>
+ <li><strong>YearMonthDay:</strong><pre>DateCalculator<YearMonthDay> calc = DefaultYearMonthDayCalculatorFactory.getDefaultInstance().getDateCalculator("UK", HolidayHandlerType.FORWARD);</pre></li>
</ol>
</subsection>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|