Author: adrianc
Date: Fri Jul 10 16:33:54 2009
New Revision: 793025
URL:
http://svn.apache.org/viewvc?rev=793025&view=revLog:
Small fixup for last commit.
Modified:
ofbiz/trunk/applications/workeffort/src/org/ofbiz/workeffort/workeffort/WorkEffortServices.java
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilDateTime.java
Modified: ofbiz/trunk/applications/workeffort/src/org/ofbiz/workeffort/workeffort/WorkEffortServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/src/org/ofbiz/workeffort/workeffort/WorkEffortServices.java?rev=793025&r1=793024&r2=793025&view=diff==============================================================================
--- ofbiz/trunk/applications/workeffort/src/org/ofbiz/workeffort/workeffort/WorkEffortServices.java (original)
+++ ofbiz/trunk/applications/workeffort/src/org/ofbiz/workeffort/workeffort/WorkEffortServices.java Fri Jul 10 16:33:54 2009
@@ -392,7 +392,7 @@
* <ul>
* <li>start - TimeStamp (Period start date/time)</li>
* <li>numPeriods - Integer</li>
- * <li>periodType - Integer (see com.ibm.icu.util.Calendar)</li>
+ * <li>periodType - Integer (see java.util.Calendar)</li>
* <li>eventStatus - String</li>
* <li>partyId - String</li>
* <li>partyIds - List</li>
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilDateTime.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilDateTime.java?rev=793025&r1=793024&r2=793025&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilDateTime.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilDateTime.java Fri Jul 10 16:33:54 2009
@@ -299,7 +299,7 @@
return getWeekEnd(stamp, TimeZone.getDefault(), Locale.getDefault());
}
- public static com.ibm.icu.util.Calendar toCalendar(java.sql.Timestamp stamp) {
+ public static Calendar toCalendar(java.sql.Timestamp stamp) {
Calendar cal = Calendar.getInstance();
if (stamp != null) {
cal.setTimeInMillis(stamp.getTime());
@@ -771,7 +771,7 @@
* @param timeZone
* @param locale
* @return Calendar object
- * @see com.ibm.icu.util.Calendar
+ * @see java.util.Calendar
*/
public static Calendar toCalendar(Date date, TimeZone timeZone, Locale locale) {
Calendar cal = getCalendarInstance(timeZone, locale);
@@ -786,12 +786,12 @@
* perform date/time arithmetic across locales and time zones.
*
* @param stamp date/time to perform arithmetic on
- * @param adjType the adjustment type to perform. Use one of the com.ibm.icu.util.Calendar fields.
+ * @param adjType the adjustment type to perform. Use one of the java.util.Calendar fields.
* @param adjQuantity the adjustment quantity.
* @param timeZone
* @param locale
* @return adjusted Timestamp
- * @see com.ibm.icu.util.Calendar
+ * @see java.util.Calendar
*/
public static Timestamp adjustTimestamp(Timestamp stamp, int adjType, int adjQuantity, TimeZone timeZone, Locale locale) {
Calendar tempCal = toCalendar(stamp, timeZone, locale);