commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/time FastDateFormat.java CalendarUtils.java StopWatch.java DateUtils.java
Date Tue, 04 Feb 2003 22:19:34 GMT
scolebourne    2003/02/04 14:19:34

  Modified:    lang/src/java/org/apache/commons/lang/time
                        FastDateFormat.java CalendarUtils.java
                        StopWatch.java DateUtils.java
  Log:
  Fix licences, dates and since tags
  
  Revision  Changes    Path
  1.4       +3 -4      jakarta-commons/lang/src/java/org/apache/commons/lang/time/FastDateFormat.java
  
  Index: FastDateFormat.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/time/FastDateFormat.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- FastDateFormat.java	4 Feb 2003 22:12:08 -0000	1.3
  +++ FastDateFormat.java	4 Feb 2003 22:19:33 -0000	1.4
  @@ -51,7 +51,6 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    */
  -
   package org.apache.commons.lang.time;
   
   import java.util.Date;
  @@ -67,7 +66,7 @@
   import java.text.DateFormat;
   import java.text.SimpleDateFormat;
   
  -/******************************************************************************
  +/**
    * Similar to {@link java.text.SimpleDateFormat}, but faster and thread-safe.
    * Only formatting is supported, but all patterns are compatible with
    * SimpleDateFormat. [Code originally taken from the open source TreeTrove
  @@ -76,7 +75,7 @@
    * @author Brian S O'Neill
    * @author Sean Schofield
    * @author Gary Gregory
  - * @since 2.0
  + * @since 2.1
    * @version $Id$
    */
   public class FastDateFormat {
  
  
  
  1.2       +4 -3      jakarta-commons/lang/src/java/org/apache/commons/lang/time/CalendarUtils.java
  
  Index: CalendarUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/time/CalendarUtils.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CalendarUtils.java	18 Dec 2002 23:30:19 -0000	1.1
  +++ CalendarUtils.java	4 Feb 2003 22:19:33 -0000	1.2
  @@ -1,9 +1,7 @@
  -package org.apache.commons.lang.time;
  -
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2002 The Apache Software Foundation.  All rights
  + * Copyright (c) 2002-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -53,6 +51,7 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    */
  +package org.apache.commons.lang.time;
   
   import java.text.*;
   import java.util.*;
  @@ -61,6 +60,8 @@
    * A suite of utilities surrounding the use of the Calendar and Date object.
    *
    * @author <a href="mailto:sergek@lokitech.com">Serge Knystautas</a>
  + * @since 2.1
  + * @version $Id$
    */
   public class CalendarUtils {
   
  
  
  
  1.2       +3 -3      jakarta-commons/lang/src/java/org/apache/commons/lang/time/StopWatch.java
  
  Index: StopWatch.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/time/StopWatch.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StopWatch.java	22 Dec 2002 22:59:58 -0000	1.1
  +++ StopWatch.java	4 Feb 2003 22:19:33 -0000	1.2
  @@ -1,7 +1,7 @@
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2002 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -76,7 +76,7 @@
    *
    * @author Henri Yandell
    * @author Stephen Colebourne
  - * @since 2.0
  + * @since 2.1
    * @version $Id$
    */
   public class StopWatch {
  
  
  
  1.2       +12 -10    jakarta-commons/lang/src/java/org/apache/commons/lang/time/DateUtils.java
  
  Index: DateUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/time/DateUtils.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DateUtils.java	18 Dec 2002 23:30:19 -0000	1.1
  +++ DateUtils.java	4 Feb 2003 22:19:33 -0000	1.2
  @@ -1,7 +1,7 @@
  -/*
  +/* ====================================================================
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2002 The Apache Software Foundation.  All rights
  + * Copyright (c) 2002-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -23,14 +23,14 @@
    *    Alternately, this acknowlegement may appear in the software itself,
    *    if and wherever such third-party acknowlegements normally appear.
    *
  - * 4. The names "The Jakarta Project", "Ant", and "Apache Software
  + * 4. The names "The Jakarta Project", "Commons", and "Apache Software
    *    Foundation" must not be used to endorse or promote products derived
    *    from this software without prior written permission. For written
    *    permission, please contact apache@apache.org.
    *
    * 5. Products derived from this software may not be called "Apache"
    *    nor may "Apache" appear in their names without prior written
  - *    permission of the Apache Group.
  + *    permission of the Apache Software Foundation.
    *
    * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
    * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  @@ -68,10 +68,8 @@
    *
    * @author <a href="mailto:sbailliez@apache.org">Stephane Bailliez</a>
    * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
  - *
  - * @since Lang 2.0
  - *
  - * @version $Revision$
  + * @since 2.1
  + * @version $Id$
    */
   public final class DateUtils {
   
  @@ -124,8 +122,12 @@
           MINUTE_SECONDS.setFormat(1, SECONDS_FORMAT);
       }
   
  -    /** public constructor */
  -    /// TODO: Insert note that this should not be used
  +    /**
  +     * <p>DateUtils instances should NOT be constructed in standard programming.</p>
  +     *
  +     * <p>This constructor is public to permit tools that require a JavaBean instance
  +     * to operate.</p>
  +     */
       public DateUtils() {
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message