[Bedework-commit] calendarapi r502 - in
trunk/calFacade/src/org/bedework/calfacade: timezones util
svnadmin at bedework.org
svnadmin at bedework.org
Tue Jan 22 00:56:41 EST 2008
Author: douglm
Date: 2008-01-22 00:56:37 -0500 (Tue, 22 Jan 2008)
New Revision: 502
Modified:
trunk/calFacade/src/org/bedework/calfacade/timezones/CalTimezones.java
trunk/calFacade/src/org/bedework/calfacade/util/DateTimeUtil.java
Log:
Mostly comment changes
Modified: trunk/calFacade/src/org/bedework/calfacade/timezones/CalTimezones.java
===================================================================
--- trunk/calFacade/src/org/bedework/calfacade/timezones/CalTimezones.java 2008-01-22 00:20:22 UTC (rev 501)
+++ trunk/calFacade/src/org/bedework/calfacade/timezones/CalTimezones.java 2008-01-22 05:56:37 UTC (rev 502)
@@ -1,33 +1,5 @@
-/*
- Copyright (c) 2000-2005 University of Washington. All rights reserved.
-
- Redistribution and use of this distribution in source and binary forms,
- with or without modification, are permitted provided that:
-
- The above copyright notice and this permission notice appear in
- all copies and supporting documentation;
-
- The name, identifiers, and trademarks of the University of Washington
- are not used in advertising or publicity without the express prior
- written permission of the University of Washington;
-
- Recipients acknowledge that this distribution is made available as a
- research courtesy, "as is", potentially with defects, without
- any obligation on the part of the University of Washington to
- provide support, services, or repair;
-
- THE UNIVERSITY OF WASHINGTON DISCLAIMS ALL WARRANTIES, EXPRESS OR
- IMPLIED, WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT LIMITATION
- ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE, AND IN NO EVENT SHALL THE UNIVERSITY OF
- WASHINGTON BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
- DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
- PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT (INCLUDING
- NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION WITH
- THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
/* **********************************************************************
- Copyright 2005 Rensselaer Polytechnic Institute. All worldwide rights reserved.
+ Copyright 2008 Rensselaer Polytechnic Institute. All worldwide rights reserved.
Redistribution and use of this distribution in source and binary forms,
with or without modification, are permitted provided that:
@@ -51,10 +23,8 @@
special, consequential, or incidental damages related to the software,
to the maximum extent the law permits.
*/
-
package org.bedework.calfacade.timezones;
-import org.apache.log4j.Logger;
import org.bedework.calfacade.BwUser;
import org.bedework.calfacade.exc.CalFacadeBadDateException;
import org.bedework.calfacade.exc.CalFacadeException;
@@ -64,6 +34,8 @@
import net.fortuna.ical4j.model.component.VTimeZone;
import net.fortuna.ical4j.util.TimeZones;
+import org.apache.log4j.Logger;
+
import java.io.Serializable;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
@@ -79,7 +51,7 @@
* <p>System timezones are typically initialised once per system while user
* timezones are initialised once per session.
*
- * <p>As there is a limited set of timezones (currenly around 350) it makes sense
+ * <p>As there is a limited set of timezones (currently around 350) it makes sense
* to hold all the system timezones in memory. Thus, there will be no updates to
* the pool of system timezones. Any updates therefore are assumed to be to the
* set of user timezones.
Modified: trunk/calFacade/src/org/bedework/calfacade/util/DateTimeUtil.java
===================================================================
--- trunk/calFacade/src/org/bedework/calfacade/util/DateTimeUtil.java 2008-01-22 00:20:22 UTC (rev 501)
+++ trunk/calFacade/src/org/bedework/calfacade/util/DateTimeUtil.java 2008-01-22 05:56:37 UTC (rev 502)
@@ -609,7 +609,7 @@
int defaultField, int defaultVal,
int maxField,
int maxVal) throws CalFacadeException {
- Locale loc = Locale.getDefault(); // XXX Locale
+ Locale loc = Locale.getDefault(); // LOCALE
Calendar startCal = Calendar.getInstance(loc);
Calendar endCal = Calendar.getInstance(loc);
More information about the Bedework-commit
mailing list