Removed: The private field DateUtils.dateFormats is never read locally.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137629 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2003-08-18 21:52:39 +00:00
parent 334b68718a
commit 8348f8b8dc
1 changed files with 1 additions and 11 deletions

View File

@ -53,8 +53,6 @@
*/ */
package org.apache.commons.lang.time; package org.apache.commons.lang.time;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar; import java.util.Calendar;
import java.util.Date; import java.util.Date;
import java.util.GregorianCalendar; import java.util.GregorianCalendar;
@ -71,7 +69,7 @@ import java.util.TimeZone;
* @author Janek Bogucki * @author Janek Bogucki
* @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a> * @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
* @since 2.0 * @since 2.0
* @version $Id: DateUtils.java,v 1.15 2003/08/18 02:22:25 bayard Exp $ * @version $Id: DateUtils.java,v 1.16 2003/08/18 21:52:39 ggregory Exp $
*/ */
public class DateUtils { public class DateUtils {
@ -112,14 +110,6 @@ public class DateUtils {
{Calendar.YEAR}, {Calendar.YEAR},
{Calendar.ERA}}; {Calendar.ERA}};
private static DateFormat[] dateFormats = {
//3/31/92 10:00:07 PST
new SimpleDateFormat("M/dd/yy h:mm:ss z"),
//January 23, 1987 10:05pm
new SimpleDateFormat("MMM d, yyyy h:mm a"),
//22:00 GMT
new SimpleDateFormat("h:mm z")};
/** /**
* A week range, starting on Sunday. * A week range, starting on Sunday.
*/ */