commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/time DurationFormatUtils.java
Date Mon, 27 Sep 2004 03:31:59 GMT
bayard      2004/09/26 20:31:59

  Modified:    lang/src/java/org/apache/commons/lang/time
                        DurationFormatUtils.java
  Log:
  fixing the optimisation separation
  
  Revision  Changes    Path
  1.17      +2 -2      jakarta-commons/lang/src/java/org/apache/commons/lang/time/DurationFormatUtils.java
  
  Index: DurationFormatUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/time/DurationFormatUtils.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- DurationFormatUtils.java	27 Sep 2004 03:30:10 -0000	1.16
  +++ DurationFormatUtils.java	27 Sep 2004 03:31:59 -0000	1.17
  @@ -119,7 +119,7 @@
        */
       public static String format(long millis, String format, boolean padWithZeros, TimeZone
timezone) {
   
  -        if(millis > 28 * DateUtils.MILLIS_PER_DAY) {
  +        if(millis >= 28 * DateUtils.MILLIS_PER_DAY) {
               Calendar c = Calendar.getInstance(timezone);
               c.set(1970, 0, 1, 0, 0, 0);
               c.set(Calendar.MILLISECOND, 0);
  
  
  

---------------------------------------------------------------------
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